Nearest named color · #397AA8
#397AA8
Nearest named color: Zenith
#397AA8 (rgb(57 122 168), hsl(205 49% 44%), oklch(0.558 0.098 242.2)) is closest to the named color Zenith. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#397AA8
oklch(0.558 0.098 242.2)
Color conversions
- HEX
- #397aa8
- RGB
- rgb(57 122 168)
- HSL
- hsl(205 49% 44%)
- HWB
- hwb(205 22% 34%)
- OKLCH
- oklch(0.558 0.098 242.2)
- OKLab
- oklab(0.558 -0.045 -0.086)
- CIE Lab
- lab(48.56 -10.06 -31.3)
- LCH
- lch(48.56 32.88 252.2)
- CMYK
- cmyk(66% 27% 0% 34%)
Tints · Shades · Tones
Tints
- 4E87B1
- 6294BA
- 76A1C3
- 89AECB
- 9CBBD4
- B0C9DD
- C3D6E5
- D7E4EE
- EBF1F7
Shades
- 306992
- 28597C
- 1F4967
- 173A52
- 102B3F
- 091D2C
- 04101A
- 01050A
- 000101
Tones
- 427BA4
- 4B7CA0
- 527D9D
- 5A7D99
- 617E95
- 677E91
- 6E7F8D
- 747F89
- 7A8084
Color harmonies
Complementary +180°
- 397AA8
Zenith
- 9C6631
≈ Caramel Kisses
Analogous -30° +30°
- 397AA8
Zenith
- 008295
≈ Craftsman Blue
- 606FAD
≈ Loch Ness
Triadic +120° +240°
- 397AA8
Zenith
- A25A6F
≈ Ruby Shade
- 6A7D37
≈ Military Green
Split-complementary +150° +210°
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.64:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.52:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--zenith: #397aa8;
--zenith-rgb: 57 122 168;
--zenith-oklch: oklch(0.558 0.098 242.2);
}
.element {
color: var(--zenith);
background-color: hsl(205 49% 44%);
border-color: oklch(0.558 0.098 242.2);
}Tailwind CSS v4
@theme {
--color-zenith: #397aa8;
--color-zenith-50: #dff9ff;
--color-zenith-100: #cdecff;
--color-zenith-200: #b2dafc;
--color-zenith-300: #8dbde6;
--color-zenith-400: #68a5d3;
--color-zenith-500: #448dc1;
--color-zenith-600: #3b78a3;
--color-zenith-700: #2f6083;
--color-zenith-800: #1f4661;
--color-zenith-900: #143144;
--color-zenith-950: #061d2c;
}SCSS
$zenith: #397aa8;
$zenith-rgb: 57, 122, 168;
$zenith-light: mix(#fff, $zenith, 20%);
$zenith-dark: mix(#000, $zenith, 20%);
.element {
color: $zenith;
box-shadow: 0 0 0 2px rgba($zenith, 0.35);
}