Nearest named color · #2D7F9D
#2D7F9D
Nearest named color: Ahoy! Blue
#2D7F9D (rgb(45 127 157), hsl(196 55% 40%), oklch(0.56 0.09 226.3)) is closest to the named color Ahoy! Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#2D7F9D
oklch(0.56 0.09 226.3)
Color conversions
- HEX
- #2d7f9d
- RGB
- rgb(45 127 157)
- HSL
- hsl(196 55% 40%)
- HWB
- hwb(196 18% 38%)
- OKLCH
- oklch(0.56 0.09 226.3)
- OKLab
- oklab(0.56 -0.062 -0.065)
- CIE Lab
- lab(49.3 -17.81 -23.81)
- LCH
- lch(49.3 29.73 233.2)
- CMYK
- cmyk(71% 19% 0% 38%)
Tints · Shades · Tones
Tints
- 468BA7
- 5C98B0
- 71A5BA
- 86B1C4
- 9ABECE
- AECBD8
- C2D8E1
- D6E5EB
- EBF2F5
Shades
- 266E88
- 1F5D73
- 184C5F
- 113C4C
- 0B2D3A
- 061F28
- 021118
- 010609
- 000101
Tones
- 3A7F9A
- 448098
- 4D8095
- 568092
- 5E808F
- 65808C
- 6C8089
- 738086
- 7A8083
Color harmonies
Complementary +180°
- 2D7F9D
Ahoy! Blue
- A06346
≈ Antique Copper
Analogous -30° +30°
- 2D7F9D
Ahoy! Blue
- 198586
≈ Tubbataha Teal
- 5176A9
≈ Flying Fish
Triadic +120° +240°
- 2D7F9D
Ahoy! Blue
- 9B5E7F
≈ Raspberry Jelly Red
- 7B7834
≈ Evening Green
Split-complementary +150° +210°
- 2D7F9D
Ahoy! Blue
- A35E62
≈ Pizza Pie
- 936D32
≈ Dirt Yellow
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.53:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.63:1 · APCA Lc 30
Best text color: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--ahoy-blue: #2d7f9d;
--ahoy-blue-rgb: 45 127 157;
--ahoy-blue-oklch: oklch(0.56 0.09 226.3);
}
.element {
color: var(--ahoy-blue);
background-color: hsl(196 55% 40%);
border-color: oklch(0.56 0.09 226.3);
}Tailwind CSS v4
@theme {
--color-ahoy-blue: #2d7f9d;
--color-ahoy-blue-50: #dcfbff;
--color-ahoy-blue-100: #caefff;
--color-ahoy-blue-200: #adddf3;
--color-ahoy-blue-300: #86c1dc;
--color-ahoy-blue-400: #60aac7;
--color-ahoy-blue-500: #3692b4;
--color-ahoy-blue-600: #307b98;
--color-ahoy-blue-700: #26637a;
--color-ahoy-blue-800: #184959;
--color-ahoy-blue-900: #10333f;
--color-ahoy-blue-950: #021e28;
}SCSS
$ahoy-blue: #2d7f9d;
$ahoy-blue-rgb: 45, 127, 157;
$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);
}