#394498#394498
#394498 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.137 H 273.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #394498 |
|---|---|
| RGB | rgb(57, 68, 152) |
| HSL | hsl(233, 45%, 41%) |
| HSV | hsv(233, 63%, 60%) |
| CMYK | cmyk(62.5%, 55.3%, 0%, 40.4%) |
| CIE-LAB | lab(32.41, 22.71, -47.54) |
| CIE-LCH | lch(32.41, 52.68, 295.53°) |
| OKLab | oklab(42.62% 0.0084 -0.1364) |
| OKLCH | oklch(42.62% 0.137 273.5) |
| XYZ | xyz(9.4201, 7.2703, 30.6066) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.97
Darkslateblue
#483D8B
ΔE00 4.82
Sapphire (survey)
#2138AB
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 5.36
Cobalt
#0047AB
ΔE00 5.47
Ocean Blue
#4F42B5
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394498 #988D39
analogous
#397398 #394498 #5D3998
triadic
#394498 #983944 #449839
tetradic
#394498 #983973 #988D39 #39985D
square
#394498 #983973 #988D39 #39985D
split-complementary
#394498 #985D39 #739839
monochromatic
#181C3F #28306B #394498 #515DBE #7D87CE
Accessibility & contrast
On white
8.56
#394498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#394498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394498
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394498 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09519B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #394498; /* rgb */ color: rgb(57, 68, 152); /* oklch */ color: oklch(42.6% 0.137 273.5);
Tailwind
colors: {
custom: {
50: '#7977b7',
500: '#394498',
950: '#000000',
},
}SCSS
$custom: #394498; $custom-light: #7977b7; $custom-dark: #000000;
JSON
{
"hex": "#394498",
"rgb": {
"r": 57,
"g": 68,
"b": 152
},
"hsl": {
"h": 233.053,
"s": 45.455,
"l": 40.98
},
"oklch": {
"l": 0.42616,
"c": 0.13666,
"h": 273.5
},
"luminance": 0.07271
}Semantic roles & 50–950 ramp
primary
#394498
secondary
#B8B075
accent
#C653D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80