#394FC4#394FC4
#394FC4 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.183 H 269.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #394FC4 |
|---|---|
| RGB | rgb(57, 79, 196) |
| HSL | hsl(231, 55%, 50%) |
| HSV | hsv(231, 71%, 77%) |
| CMYK | cmyk(70.9%, 59.7%, 0%, 23.1%) |
| CIE-LAB | lab(38.63, 31.34, -63.60) |
| CIE-LCH | lch(38.63, 70.90, 296.23°) |
| OKLab | oklab(48.31% -0.0002 -0.1835) |
| OKLCH | oklch(48.31% 0.183 269.9) |
| XYZ | xyz(14.4437, 10.4459, 53.4689) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.96
Warm Blue
#4B57DB
ΔE00 4.59
Blue (survey)
#0343DF
ΔE00 4.71
Sapphire
#0F52BA
ΔE00 4.74
Ocean Blue
#4F42B5
ΔE00 5.80
Cobalt
#0047AB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394FC4 #C4AE39
analogous
#3994C4 #394FC4 #6939C4
triadic
#394FC4 #C4394F #4FC439
tetradic
#394FC4 #C43994 #C4AE39 #39C469
square
#394FC4 #C43994 #C4AE39 #39C469
split-complementary
#394FC4 #C46939 #94C439
monochromatic
#1D2965 #2B3C95 #394FC4 #6778D3 #97A2E1
Accessibility & contrast
On white
6.80
#394FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#394FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #394FC4
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394FC4 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #394fc4; /* rgb */ color: rgb(57, 79, 196); /* oklch */ color: oklch(48.3% 0.183 269.9);
Tailwind
colors: {
custom: {
50: '#8180d7',
500: '#394fc4',
950: '#000000',
},
}SCSS
$custom: #394fc4; $custom-light: #8180d7; $custom-dark: #000000;
JSON
{
"hex": "#394fc4",
"rgb": {
"r": 57,
"g": 79,
"b": 196
},
"hsl": {
"h": 230.504,
"s": 54.941,
"l": 49.608
},
"oklch": {
"l": 0.48311,
"c": 0.18348,
"h": 269.9
},
"luminance": 0.10447
}Semantic roles & 50–950 ramp
primary
#394FC4
secondary
#CCC28D
accent
#C74ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83