#394FC5#394FC5
#394FC5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.185 H 269.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #394FC5 |
|---|---|
| RGB | rgb(57, 79, 197) |
| HSL | hsl(231, 55%, 50%) |
| HSV | hsv(231, 71%, 77%) |
| CMYK | cmyk(71.1%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(38.71, 31.70, -64.05) |
| CIE-LCH | lch(38.71, 71.46, 296.33°) |
| OKLab | oklab(48.4% -0.0002 -0.1848) |
| OKLCH | oklch(48.4% 0.185 269.9) |
| XYZ | xyz(14.5579, 10.4916, 54.0704) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.96
Warm Blue
#4B57DB
ΔE00 4.48
Blue (survey)
#0343DF
ΔE00 4.63
Sapphire
#0F52BA
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 5.81
Cobalt
#0047AB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394FC5 #C5AF39
analogous
#3995C5 #394FC5 #6939C5
triadic
#394FC5 #C5394F #4FC539
tetradic
#394FC5 #C53995 #C5AF39 #39C569
square
#394FC5 #C53995 #C5AF39 #39C569
split-complementary
#394FC5 #C56939 #95C539
monochromatic
#1E2966 #2B3C96 #394FC5 #6879D3 #97A3E1
Accessibility & contrast
On white
6.78
#394FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#394FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #394FC5
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394FC5 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #394fc5; /* rgb */ color: rgb(57, 79, 197); /* oklch */ color: oklch(48.4% 0.185 269.9);
Tailwind
colors: {
custom: {
50: '#8280d7',
500: '#394fc5',
950: '#000000',
},
}SCSS
$custom: #394fc5; $custom-light: #8280d7; $custom-dark: #000000;
JSON
{
"hex": "#394fc5",
"rgb": {
"r": 57,
"g": 79,
"b": 197
},
"hsl": {
"h": 230.571,
"s": 55.118,
"l": 49.804
},
"oklch": {
"l": 0.48395,
"c": 0.18481,
"h": 269.9
},
"luminance": 0.10493
}Semantic roles & 50–950 ramp
primary
#394FC5
secondary
#CDC38D
accent
#C749DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83