#394BA2#394BA2
#394BA2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.142 H 270.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #394BA2 |
|---|---|
| RGB | rgb(57, 75, 162) |
| HSL | hsl(230, 48%, 43%) |
| HSV | hsv(230, 65%, 64%) |
| CMYK | cmyk(64.8%, 53.7%, 0%, 36.5%) |
| CIE-LAB | lab(35.02, 21.67, -49.36) |
| CIE-LCH | lch(35.02, 53.91, 293.70°) |
| OKLab | oklab(44.81% 0.0021 -0.1417) |
| OKLCH | oklch(44.81% 0.142 270.8) |
| XYZ | xyz(10.7228, 8.5097, 35.2529) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.36
Cobalt (survey)
#1E488F
ΔE00 4.92
Blueberry
#464196
ΔE00 4.93
Sapphire
#0F52BA
ΔE00 5.41
Blue Blue
#2242C7
ΔE00 5.92
Sapphire (survey)
#2138AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394BA2 #A29039
analogous
#397FA2 #394BA2 #5B39A2
triadic
#394BA2 #A2394B #4BA239
tetradic
#394BA2 #A2397F #A29039 #39A25B
square
#394BA2 #A2397F #A29039 #39A25B
split-complementary
#394BA2 #A25B39 #7FA239
monochromatic
#192147 #293675 #394BA2 #5568C3 #8290D3
Accessibility & contrast
On white
7.77
#394BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#394BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394BA2
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394BA2 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1257A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #394ba2; /* rgb */ color: rgb(57, 75, 162); /* oklch */ color: oklch(44.8% 0.142 270.8);
Tailwind
colors: {
custom: {
50: '#7b7dbe',
500: '#394ba2',
950: '#000000',
},
}SCSS
$custom: #394ba2; $custom-light: #7b7dbe; $custom-dark: #000000;
JSON
{
"hex": "#394ba2",
"rgb": {
"r": 57,
"g": 75,
"b": 162
},
"hsl": {
"h": 229.714,
"s": 47.945,
"l": 42.941
},
"oklch": {
"l": 0.44805,
"c": 0.1417,
"h": 270.8
},
"luminance": 0.08511
}Semantic roles & 50–950 ramp
primary
#394BA2
secondary
#BDB17A
accent
#C050D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81