Nearest named color · #2D7F9E
#2D7F9E
Nearest named color: Ahoy! Blue
#2D7F9E (rgb(45 127 158), hsl(196 56% 40%), oklch(0.561 0.091 227.1)) is closest to the named color Ahoy! Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#2D7F9E
oklch(0.561 0.091 227.1)
Color conversions
- HEX
- #2d7f9e
- RGB
- rgb(45 127 158)
- HSL
- hsl(196 56% 40%)
- HWB
- hwb(196 18% 38%)
- OKLCH
- oklch(0.561 0.091 227.1)
- OKLab
- oklab(0.561 -0.062 -0.067)
- CIE Lab
- lab(49.34 -17.53 -24.33)
- LCH
- lch(49.34 29.99 234.2)
- CMYK
- cmyk(72% 20% 0% 38%)
Tints · Shades · Tones
Tints
- 468BA8
- 5C98B1
- 71A5BB
- 86B1C5
- 9ABECE
- AECBD8
- C2D8E2
- D6E5EB
- EBF2F5
Shades
- 266E89
- 1F5D74
- 184C60
- 113C4D
- 0B2D3A
- 061F29
- 021118
- 010609
- 000101
Tones
- 3A7F9B
- 448098
- 4D8095
- 568093
- 5E8090
- 65808D
- 6C8089
- 738086
- 7A8083
Color harmonies
Complementary +180°
- 2D7F9E
Ahoy! Blue
- A06344
≈ Antique Copper
Analogous -30° +30°
- 2D7F9E
Ahoy! Blue
- 168587
≈ Milky Aquamarine
- 5276AA
≈ Flying Fish
Triadic +120° +240°
- 2D7F9E
Ahoy! Blue
- 9B5E7F
≈ Raspberry Jelly Red
- 7B7834
≈ Evening Green
Split-complementary +150° +210°
- 2D7F9E
Ahoy! Blue
- A35E61
≈ Pizza Pie
- 926D31
≈ Dirt Yellow
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.52:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.64:1 · APCA Lc 31
Best text color: #000000
WCAG 4.64:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--ahoy-blue: #2d7f9e;
--ahoy-blue-rgb: 45 127 158;
--ahoy-blue-oklch: oklch(0.561 0.091 227.1);
}
.element {
color: var(--ahoy-blue);
background-color: hsl(196 56% 40%);
border-color: oklch(0.561 0.091 227.1);
}Tailwind CSS v4
@theme {
--color-ahoy-blue: #2d7f9e;
--color-ahoy-blue-50: #dcfbff;
--color-ahoy-blue-100: #caeeff;
--color-ahoy-blue-200: #addcf4;
--color-ahoy-blue-300: #86c1dd;
--color-ahoy-blue-400: #60a9c8;
--color-ahoy-blue-500: #3692b5;
--color-ahoy-blue-600: #2f7b99;
--color-ahoy-blue-700: #26637a;
--color-ahoy-blue-800: #18495a;
--color-ahoy-blue-900: #10323f;
--color-ahoy-blue-950: #021e28;
}SCSS
$ahoy-blue: #2d7f9e;
$ahoy-blue-rgb: 45, 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);
}