Nearest named color · #5E7A8F
#5E7A8F
Nearest named color: Whale Shark
#5E7A8F (rgb(94 122 143), hsl(206 21% 46%), oklch(0.566 0.046 241)) is closest to the named color Whale Shark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5E7A8F
oklch(0.566 0.046 241)
Color conversions
- HEX
- #5e7a8f
- RGB
- rgb(94 122 143)
- HSL
- hsl(206 21% 46%)
- HWB
- hwb(206 37% 44%)
- OKLCH
- oklch(0.566 0.046 241)
- OKLab
- oklab(0.566 -0.022 -0.04)
- CIE Lab
- lab(49.63 -6.38 -14.91)
- LCH
- lch(49.63 16.22 246.9)
- CMYK
- cmyk(34% 15% 0% 44%)
Tints · Shades · Tones
Tints
- 6D879A
- 7C93A5
- 8CA0B0
- 9CADBB
- ACBBC6
- BCC8D1
- CCD5DC
- DDE3E8
- EEF1F3
Shades
- 51697C
- 445969
- 374957
- 2B3A45
- 1F2B34
- 141D24
- 0A1015
- 030507
- 000101
Tones
- 627B8E
- 657B8C
- 697C8B
- 6C7D89
- 6F7D88
- 737E86
- 767E85
- 797F83
- 7D7F82
Color harmonies
Complementary +180°
- 5E7A8F
Whale Shark
- 8B705B
≈ Sweet Georgia Brown
Analogous -30° +30°
- 5E7A8F
Whale Shark
- 567E85
≈ Sultry Bay
- 6C7592
≈ Legal Eagle
Triadic +120° +240°
- 5E7A8F
Whale Shark
- 8E6B74
≈ Evening Crimson
- 727B5C
≈ Loden Green
Split-complementary +150° +210°
- 5E7A8F
Whale Shark
- 8F6C66
≈ Eclectic Plum
- 807557
≈ Private Affair
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.50:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 30
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--whale-shark: #5e7a8f;
--whale-shark-rgb: 94 122 143;
--whale-shark-oklch: oklch(0.566 0.046 241);
}
.element {
color: var(--whale-shark);
background-color: hsl(206 21% 46%);
border-color: oklch(0.566 0.046 241);
}Tailwind CSS v4
@theme {
--color-whale-shark: #5e7a8f;
--color-whale-shark-50: #eaf7ff;
--color-whale-shark-100: #dbeaf6;
--color-whale-shark-200: #c4d7e7;
--color-whale-shark-300: #a4bbce;
--color-whale-shark-400: #87a2b7;
--color-whale-shark-500: #6b8ba2;
--color-whale-shark-600: #5b7589;
--color-whale-shark-700: #485e6e;
--color-whale-shark-800: #344551;
--color-whale-shark-900: #233038;
--color-whale-shark-950: #121c23;
}SCSS
$whale-shark: #5e7a8f;
$whale-shark-rgb: 94, 122, 143;
$whale-shark-light: mix(#fff, $whale-shark, 20%);
$whale-shark-dark: mix(#000, $whale-shark, 20%);
.element {
color: $whale-shark;
box-shadow: 0 0 0 2px rgba($whale-shark, 0.35);
}