Nearest named color · #42718E
#42718E
Nearest named color: Harbour Blue
#42718E (rgb(66 113 142), hsl(203 37% 41%), oklch(0.527 0.069 237.1)) is closest to the named color Harbour Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#42718E
oklch(0.527 0.069 237.1)
Color conversions
- HEX
- #42718e
- RGB
- rgb(66 113 142)
- HSL
- hsl(203 37% 41%)
- HWB
- hwb(203 26% 44%)
- OKLCH
- oklch(0.527 0.069 237.1)
- OKLab
- oklab(0.527 -0.037 -0.058)
- CIE Lab
- lab(45.21 -10.06 -21.21)
- LCH
- lch(45.21 23.47 244.6)
- CMYK
- cmyk(54% 20% 0% 44%)
Tints · Shades · Tones
Tints
- 557E99
- 678CA4
- 799AAF
- 8CA8BB
- 9EB6C6
- B1C4D1
- C4D3DC
- D8E1E8
- EBF0F3
Shades
- 38617B
- 2F5268
- 254356
- 1C3544
- 142734
- 0B1A24
- 050E15
- 010407
- 000101
Tones
- 49738D
- 50748C
- 56768A
- 5D7789
- 637988
- 697A86
- 6F7C85
- 757D83
- 7A7F82
Color harmonies
Complementary +180°
- 42718E
Harbour Blue
- 896143
≈ Wilmington
Analogous -30° +30°
- 42718E
Harbour Blue
- 33767F
≈ Diver’s Eden
- 596A93
≈ Emerald-Crested Manakin
Triadic +120° +240°
- 42718E
Harbour Blue
- 8B5A6B
≈ Cabernet
- 687041
≈ Gulf Weed
Split-complementary +150° +210°
- 42718E
Harbour Blue
- 8F5B55
≈ Bold Brick
- 7C693A
≈ Gold Sparkle
Tetradic +90° +180° +270°
- 42718E
Harbour Blue
- 815D80
≈ Trendy Pink
- 896143
≈ Wilmington
- 507654
≈ Elm Green
Contrast & accessibility
Ag
AAOn white
WCAG 5.27:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.98:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.27:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--harbour-blue: #42718e;
--harbour-blue-rgb: 66 113 142;
--harbour-blue-oklch: oklch(0.527 0.069 237.1);
}
.element {
color: var(--harbour-blue);
background-color: hsl(203 37% 41%);
border-color: oklch(0.527 0.069 237.1);
}Tailwind CSS v4
@theme {
--color-harbour-blue: #42718e;
--color-harbour-blue-50: #e4f8ff;
--color-harbour-blue-100: #d4ecfd;
--color-harbour-blue-200: #bad9ef;
--color-harbour-blue-300: #98bdd7;
--color-harbour-blue-400: #77a5c2;
--color-harbour-blue-500: #588dae;
--color-harbour-blue-600: #4b7793;
--color-harbour-blue-700: #3c6076;
--color-harbour-blue-800: #2a4657;
--color-harbour-blue-900: #1c313d;
--color-harbour-blue-950: #0c1d26;
}SCSS
$harbour-blue: #42718e;
$harbour-blue-rgb: 66, 113, 142;
$harbour-blue-light: mix(#fff, $harbour-blue, 20%);
$harbour-blue-dark: mix(#000, $harbour-blue, 20%);
.element {
color: $harbour-blue;
box-shadow: 0 0 0 2px rgba($harbour-blue, 0.35);
}