Nearest named color · #394462
#394462
Nearest named color: Bonne Nuit
#394462 (rgb(57 68 98), hsl(224 26% 30%), oklch(0.39 0.053 268.4)) is closest to the named color Bonne Nuit. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#394462
oklch(0.39 0.053 268.4)
Color conversions
- HEX
- #394462
- RGB
- rgb(57 68 98)
- HSL
- hsl(224 26% 30%)
- HWB
- hwb(224 22% 62%)
- OKLCH
- oklch(0.39 0.053 268.4)
- OKLab
- oklab(0.39 -0.001 -0.053)
- CIE Lab
- lab(28.89 1.95 -19.35)
- LCH
- lch(28.89 19.45 275.7)
- CMYK
- cmyk(42% 31% 0% 62%)
Tints · Shades · Tones
Tints
- 4A5571
- 5C6680
- 6F788F
- 828A9E
- 969DAE
- AAB0BE
- BFC3CE
- D4D7DE
- E9EBEE
Shades
- 303A54
- 283047
- 1F263A
- 171D2D
- 101421
- 090C16
- 04050B
- 010203
- 000000
Tones
- 404A65
- 465068
- 4D566B
- 545C6F
- 5B6272
- 636875
- 6A6E77
- 71747A
- 797A7D
Color harmonies
Complementary +180°
- 394462
Bonne Nuit
- 514422
≈ Uniform Green
Analogous -30° +30°
- 394462
Bonne Nuit
- 28495E
≈ Arapawa
- 493F5E
≈ Powerful Mauve
Triadic +120° +240°
- 394462
Bonne Nuit
- 5F3A35
≈ Hereford Bull
- 314D35
≈ Moselle Green
Split-complementary +150° +210°
- 394462
Bonne Nuit
- 5B3E27
≈ Bracken
- 424927
≈ Nori Seaweed Green
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 9.64:1 · APCA Lc 92
Ag
FailOn black
WCAG 2.17:1 · APCA Lc 10
Best text color: #FFFFFF
WCAG 9.64:1 (AAA) · APCA Lc 92
Contrast pairs
Code snippets
CSS
:root {
--bonne-nuit: #394462;
--bonne-nuit-rgb: 57 68 98;
--bonne-nuit-oklch: oklch(0.39 0.053 268.4);
}
.element {
color: var(--bonne-nuit);
background-color: hsl(224 26% 30%);
border-color: oklch(0.39 0.053 268.4);
}Tailwind CSS v4
@theme {
--color-bonne-nuit: #394462;
--color-bonne-nuit-50: #eff5ff;
--color-bonne-nuit-100: #e1e7fa;
--color-bonne-nuit-200: #cbd4ec;
--color-bonne-nuit-300: #adb7d3;
--color-bonne-nuit-400: #919ebf;
--color-bonne-nuit-500: #7785aa;
--color-bonne-nuit-600: #657190;
--color-bonne-nuit-700: #515a73;
--color-bonne-nuit-800: #3a4255;
--color-bonne-nuit-900: #282e3b;
--color-bonne-nuit-950: #161a25;
}SCSS
$bonne-nuit: #394462;
$bonne-nuit-rgb: 57, 68, 98;
$bonne-nuit-light: mix(#fff, $bonne-nuit, 20%);
$bonne-nuit-dark: mix(#000, $bonne-nuit, 20%);
.element {
color: $bonne-nuit;
box-shadow: 0 0 0 2px rgba($bonne-nuit, 0.35);
}