Nearest named color · #2F7F9E
#2F7F9E
Nearest named color: Ahoy! Blue
#2F7F9E (rgb(47 127 158), hsl(197 54% 40%), oklch(0.561 0.09 227.5)) is closest to the named color Ahoy! Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#2F7F9E
oklch(0.561 0.09 227.5)
Color conversions
- HEX
- #2f7f9e
- RGB
- rgb(47 127 158)
- HSL
- hsl(197 54% 40%)
- HWB
- hwb(197 18% 38%)
- OKLCH
- oklch(0.561 0.09 227.5)
- OKLab
- oklab(0.561 -0.061 -0.066)
- CIE Lab
- lab(49.4 -17.2 -24.24)
- LCH
- lch(49.4 29.72 234.6)
- CMYK
- cmyk(70% 20% 0% 38%)
Tints · Shades · Tones
Tints
- 488BA8
- 5D98B1
- 72A5BB
- 86B1C5
- 9ABECE
- AECBD8
- C2D8E2
- D6E5EB
- EBF2F5
Shades
- 276E89
- 205D74
- 194C60
- 123C4D
- 0C2D3A
- 061F29
- 031118
- 010609
- 000101
Tones
- 3B7F9B
- 458098
- 4E8095
- 578092
- 5E8090
- 66808D
- 6D8089
- 738086
- 7A8083
Color harmonies
Complementary +180°
- 2F7F9E
Ahoy! Blue
- A06445
≈ Antique Copper
Analogous -30° +30°
- 2F7F9E
Ahoy! Blue
- 198587
≈ Tubbataha Teal
- 5376A9
≈ Flying Fish
Triadic +120° +240°
- 2F7F9E
Ahoy! Blue
- 9B5E7F
≈ Raspberry Jelly Red
- 7A7935
≈ Evening Green
Split-complementary +150° +210°
- 2F7F9E
Ahoy! Blue
- A35E61
≈ Pizza Pie
- 926E32
≈ Dirt Yellow
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 31
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--ahoy-blue: #2f7f9e;
--ahoy-blue-rgb: 47 127 158;
--ahoy-blue-oklch: oklch(0.561 0.09 227.5);
}
.element {
color: var(--ahoy-blue);
background-color: hsl(197 54% 40%);
border-color: oklch(0.561 0.09 227.5);
}Tailwind CSS v4
@theme {
--color-ahoy-blue: #2f7f9e;
--color-ahoy-blue-50: #dcfbff;
--color-ahoy-blue-100: #caeeff;
--color-ahoy-blue-200: #addcf3;
--color-ahoy-blue-300: #87c1dd;
--color-ahoy-blue-400: #61a9c8;
--color-ahoy-blue-500: #3892b5;
--color-ahoy-blue-600: #317b98;
--color-ahoy-blue-700: #27637a;
--color-ahoy-blue-800: #19495a;
--color-ahoy-blue-900: #10323f;
--color-ahoy-blue-950: #031e28;
}SCSS
$ahoy-blue: #2f7f9e;
$ahoy-blue-rgb: 47, 127, 158;
$ahoy-blue-light: mix(#fff, $ahoy-blue, 20%);
$ahoy-blue-dark: mix(#000, $ahoy-blue, 20%);
.element {
color: $ahoy-blue;
box-shadow: 0 0 0 2px rgba($ahoy-blue, 0.35);
}