#394CA5#394CA5
#394CA5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.145 H 270.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #394CA5 |
|---|---|
| RGB | rgb(57, 76, 165) |
| HSL | hsl(229, 49%, 44%) |
| HSV | hsv(229, 65%, 65%) |
| CMYK | cmyk(65.5%, 53.9%, 0%, 35.3%) |
| CIE-LAB | lab(35.51, 22.10, -50.38) |
| CIE-LCH | lch(35.51, 55.01, 293.68°) |
| OKLab | oklab(45.24% 0.0013 -0.1446) |
| OKLCH | oklch(45.24% 0.145 270.5) |
| XYZ | xyz(11.0610, 8.7544, 36.6969) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.29
Sapphire
#0F52BA
ΔE00 5.03
Cobalt (survey)
#1E488F
ΔE00 5.13
Blueberry
#464196
ΔE00 5.30
Blue Blue
#2242C7
ΔE00 5.69
Ocean Blue
#4F42B5
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394CA5 #A59239
analogous
#3982A5 #394CA5 #5C39A5
triadic
#394CA5 #A5394C #4CA539
tetradic
#394CA5 #A53982 #A59239 #39A55C
square
#394CA5 #A53982 #A59239 #39A55C
split-complementary
#394CA5 #A55C39 #82A539
monochromatic
#1A224A #293778 #394CA5 #566AC5 #8492D4
Accessibility & contrast
On white
7.63
#394CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#394CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394CA5
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394CA5 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1059A8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #394ca5; /* rgb */ color: rgb(57, 76, 165); /* oklch */ color: oklch(45.2% 0.145 270.5);
Tailwind
colors: {
custom: {
50: '#7b7dc0',
500: '#394ca5',
950: '#000000',
},
}SCSS
$custom: #394ca5; $custom-light: #7b7dc0; $custom-dark: #000000;
JSON
{
"hex": "#394ca5",
"rgb": {
"r": 57,
"g": 76,
"b": 165
},
"hsl": {
"h": 229.444,
"s": 48.649,
"l": 43.529
},
"oklch": {
"l": 0.45238,
"c": 0.14466,
"h": 270.5
},
"luminance": 0.08755
}Semantic roles & 50–950 ramp
primary
#394CA5
secondary
#BEB37B
accent
#C050D8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0912
muted
#7C7B81