#394AA2#394AA2
#394AA2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.143 H 271.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #394AA2 |
|---|---|
| RGB | rgb(57, 74, 162) |
| HSL | hsl(230, 48%, 43%) |
| HSV | hsv(230, 65%, 64%) |
| CMYK | cmyk(64.8%, 54.3%, 0%, 36.5%) |
| CIE-LAB | lab(34.75, 22.33, -49.80) |
| CIE-LCH | lch(34.75, 54.58, 294.15°) |
| OKLab | oklab(44.6% 0.003 -0.143) |
| OKLCH | oklch(44.6% 0.143 271.2) |
| XYZ | xyz(10.6555, 8.3751, 35.2304) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.39
Blueberry
#464196
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.03
Sapphire
#0F52BA
ΔE00 5.63
Blue Blue
#2242C7
ΔE00 5.77
Sapphire (survey)
#2138AB
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394AA2 #A29139
analogous
#397EA2 #394AA2 #5D39A2
triadic
#394AA2 #A2394A #4AA239
tetradic
#394AA2 #A2397E #A29139 #39A25D
square
#394AA2 #A2397E #A29139 #39A25D
split-complementary
#394AA2 #A25D39 #7EA239
monochromatic
#192147 #293575 #394AA2 #5567C3 #828FD3
Accessibility & contrast
On white
7.85
#394AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#394AA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394AA2
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394AA2 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #394aa2; /* rgb */ color: rgb(57, 74, 162); /* oklch */ color: oklch(44.6% 0.143 271.2);
Tailwind
colors: {
custom: {
50: '#7b7cbe',
500: '#394aa2',
950: '#000000',
},
}SCSS
$custom: #394aa2; $custom-light: #7b7cbe; $custom-dark: #000000;
JSON
{
"hex": "#394aa2",
"rgb": {
"r": 57,
"g": 74,
"b": 162
},
"hsl": {
"h": 230.286,
"s": 47.945,
"l": 42.941
},
"oklch": {
"l": 0.44601,
"c": 0.14301,
"h": 271.2
},
"luminance": 0.08376
}Semantic roles & 50–950 ramp
primary
#394AA2
secondary
#BDB27A
accent
#C250D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81