#394AA5#394AA5
#394AA5 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.147 H 271.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #394AA5 |
|---|---|
| RGB | rgb(57, 74, 165) |
| HSL | hsl(231, 49%, 44%) |
| HSV | hsv(231, 65%, 65%) |
| CMYK | cmyk(65.5%, 55.2%, 0%, 35.3%) |
| CIE-LAB | lab(34.97, 23.41, -51.25) |
| CIE-LCH | lch(34.97, 56.34, 294.56°) |
| OKLab | oklab(44.83% 0.0032 -0.1472) |
| OKLCH | oklch(44.83% 0.147 271.3) |
| XYZ | xyz(10.9254, 8.4831, 36.6517) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.35
Blueberry
#464196
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.32
Blue Blue
#2242C7
ΔE00 5.36
Sapphire
#0F52BA
ΔE00 5.47
Sapphire (survey)
#2138AB
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394AA5 #A59439
analogous
#3980A5 #394AA5 #5E39A5
triadic
#394AA5 #A5394A #4AA539
tetradic
#394AA5 #A53980 #A59439 #39A55E
square
#394AA5 #A53980 #A59439 #39A55E
split-complementary
#394AA5 #A55E39 #80A539
monochromatic
#1A214A #293678 #394AA5 #5668C5 #8491D4
Accessibility & contrast
On white
7.79
#394AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#394AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394AA5
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394AA5 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0457A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #394aa5; /* rgb */ color: rgb(57, 74, 165); /* oklch */ color: oklch(44.8% 0.147 271.3);
Tailwind
colors: {
custom: {
50: '#7b7cc0',
500: '#394aa5',
950: '#000000',
},
}SCSS
$custom: #394aa5; $custom-light: #7b7cc0; $custom-dark: #000000;
JSON
{
"hex": "#394aa5",
"rgb": {
"r": 57,
"g": 74,
"b": 165
},
"hsl": {
"h": 230.556,
"s": 48.649,
"l": 43.529
},
"oklch": {
"l": 0.44834,
"c": 0.14728,
"h": 271.3
},
"luminance": 0.08484
}Semantic roles & 50–950 ramp
primary
#394AA5
secondary
#BEB47B
accent
#C350D8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0912
muted
#7C7B81