#394BAC#394BAC
#394BAC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.156 H 271.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #394BAC |
|---|---|
| RGB | rgb(57, 75, 172) |
| HSL | hsl(231, 50%, 45%) |
| HSV | hsv(231, 67%, 67%) |
| CMYK | cmyk(66.9%, 56.4%, 0%, 32.5%) |
| CIE-LAB | lab(35.75, 25.29, -54.16) |
| CIE-LCH | lch(35.75, 59.77, 295.03°) |
| OKLab | oklab(45.58% 0.0026 -0.1558) |
| OKLCH | oklch(45.58% 0.156 271) |
| XYZ | xyz(11.6473, 8.8795, 40.1218) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.37
Blue Blue
#2242C7
ΔE00 4.64
Sapphire
#0F52BA
ΔE00 4.99
Blueberry
#464196
ΔE00 5.39
Ocean Blue
#4F42B5
ΔE00 5.39
Sapphire (survey)
#2138AB
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394BAC #AC9A39
analogous
#3984AC #394BAC #6139AC
triadic
#394BAC #AC394B #4BAC39
tetradic
#394BAC #AC3984 #AC9A39 #39AC61
square
#394BAC #AC3984 #AC9A39 #39AC61
split-complementary
#394BAC #AC6139 #84AC39
monochromatic
#1B2350 #2A377E #394BAC #5A6BC8 #8894D8
Accessibility & contrast
On white
7.56
#394BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#394BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394BAC
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394BAC | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #394bac; /* rgb */ color: rgb(57, 75, 172); /* oklch */ color: oklch(45.6% 0.156 271.0);
Tailwind
colors: {
custom: {
50: '#7d7dc5',
500: '#394bac',
950: '#000000',
},
}SCSS
$custom: #394bac; $custom-light: #7d7dc5; $custom-dark: #000000;
JSON
{
"hex": "#394bac",
"rgb": {
"r": 57,
"g": 75,
"b": 172
},
"hsl": {
"h": 230.609,
"s": 50.218,
"l": 44.902
},
"oklch": {
"l": 0.45583,
"c": 0.15581,
"h": 271
},
"luminance": 0.08881
}Semantic roles & 50–950 ramp
primary
#394BAC
secondary
#C2B77F
accent
#C44EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82