#394AA1#394AA1
#394AA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.142 H 271.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #394AA1 |
|---|---|
| RGB | rgb(57, 74, 161) |
| HSL | hsl(230, 48%, 43%) |
| HSV | hsv(230, 65%, 63%) |
| CMYK | cmyk(64.6%, 54%, 0%, 36.9%) |
| CIE-LAB | lab(34.68, 21.97, -49.32) |
| CIE-LCH | lch(34.68, 53.99, 294.01°) |
| OKLab | oklab(44.53% 0.003 -0.1415) |
| OKLCH | oklch(44.53% 0.142 271.2) |
| XYZ | xyz(10.5670, 8.3397, 34.7642) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.42
Blueberry
#464196
ΔE00 4.62
Cobalt (survey)
#1E488F
ΔE00 4.94
Sapphire
#0F52BA
ΔE00 5.69
Sapphire (survey)
#2138AB
ΔE00 5.89
Blue Blue
#2242C7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394AA1 #A19039
analogous
#397EA1 #394AA1 #5C39A1
triadic
#394AA1 #A1394A #4AA139
tetradic
#394AA1 #A1397E #A19039 #39A15C
square
#394AA1 #A1397E #A19039 #39A15C
split-complementary
#394AA1 #A15C39 #7EA139
monochromatic
#192047 #293574 #394AA1 #5567C3 #828FD3
Accessibility & contrast
On white
7.87
#394AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#394AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394AA1
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394AA1 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1056A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #394aa1; /* rgb */ color: rgb(57, 74, 161); /* oklch */ color: oklch(44.5% 0.142 271.2);
Tailwind
colors: {
custom: {
50: '#7b7cbd',
500: '#394aa1',
950: '#000000',
},
}SCSS
$custom: #394aa1; $custom-light: #7b7cbd; $custom-dark: #000000;
JSON
{
"hex": "#394aa1",
"rgb": {
"r": 57,
"g": 74,
"b": 161
},
"hsl": {
"h": 230.192,
"s": 47.706,
"l": 42.745
},
"oklch": {
"l": 0.44525,
"c": 0.14158,
"h": 271.2
},
"luminance": 0.08341
}Semantic roles & 50–950 ramp
primary
#394AA1
secondary
#BCB179
accent
#C150D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81