Nearest named color · #57798F
#57798F
Nearest named color: Whale Shark
#57798F (rgb(87 121 143), hsl(204 24% 45%), oklch(0.559 0.052 237.3)) is closest to the named color Whale Shark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#57798F
oklch(0.559 0.052 237.3)
Color conversions
- HEX
- #57798f
- RGB
- rgb(87 121 143)
- HSL
- hsl(204 24% 45%)
- HWB
- hwb(204 34% 44%)
- OKLCH
- oklch(0.559 0.052 237.3)
- OKLab
- oklab(0.559 -0.028 -0.043)
- CIE Lab
- lab(48.87 -8.07 -16.1)
- LCH
- lch(48.87 18 243.4)
- CMYK
- cmyk(39% 15% 0% 44%)
Tints · Shades · Tones
Tints
- 67869A
- 7793A5
- 87A0B0
- 98ADBB
- A8BAC6
- B9C8D1
- CAD5DD
- DCE3E8
- EDF1F3
Shades
- 4B687C
- 3E5869
- 334857
- 273945
- 1C2B34
- 121D24
- 081015
- 030507
- 000101
Tones
- 5B7A8E
- 607B8C
- 647B8B
- 687C89
- 6C7D88
- 707D86
- 747E85
- 787F83
- 7C7F82
Color harmonies
Complementary +180°
- 57798F
Whale Shark
- 8C6D56
≈ Caravel Brown
Analogous -30° +30°
- 57798F
Whale Shark
- 4E7D84
≈ Brittany Blue
- 677493
≈ Niche
Triadic +120° +240°
- 57798F
Whale Shark
- 8E6874
≈ Evening Crimson
- 717856
≈ Dill
Split-complementary +150° +210°
- 57798F
Whale Shark
- 906964
≈ Cloak of Mystery
- 817351
≈ Olive Sapling
Tetradic +90° +180° +270°
- 57798F
Whale Shark
- 856A84
≈ Imaginary Mauve
- 8C6D56
≈ Caravel Brown
- 607D63
≈ Korean Mint
Contrast & accessibility
Ag
AAOn white
WCAG 4.62:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.53:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--whale-shark: #57798f;
--whale-shark-rgb: 87 121 143;
--whale-shark-oklch: oklch(0.559 0.052 237.3);
}
.element {
color: var(--whale-shark);
background-color: hsl(204 24% 45%);
border-color: oklch(0.559 0.052 237.3);
}Tailwind CSS v4
@theme {
--color-whale-shark: #57798f;
--color-whale-shark-50: #e8f8ff;
--color-whale-shark-100: #d9ebf8;
--color-whale-shark-200: #c1d8e8;
--color-whale-shark-300: #a0bccf;
--color-whale-shark-400: #82a4ba;
--color-whale-shark-500: #658ca5;
--color-whale-shark-600: #56768b;
--color-whale-shark-700: #455f6f;
--color-whale-shark-800: #314552;
--color-whale-shark-900: #213039;
--color-whale-shark-950: #101c23;
}SCSS
$whale-shark: #57798f;
$whale-shark-rgb: 87, 121, 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);
}