#394FC6#394FC6
#394FC6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.186 H 269.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #394FC6 |
|---|---|
| RGB | rgb(57, 79, 198) |
| HSL | hsl(231, 55%, 50%) |
| HSV | hsv(231, 71%, 78%) |
| CMYK | cmyk(71.2%, 60.1%, 0%, 22.4%) |
| CIE-LAB | lab(38.79, 32.06, -64.50) |
| CIE-LCH | lch(38.79, 72.03, 296.43°) |
| OKLab | oklab(48.48% -0.0002 -0.1861) |
| OKLCH | oklch(48.48% 0.186 269.9) |
| XYZ | xyz(14.6729, 10.5376, 54.6758) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.96
Warm Blue
#4B57DB
ΔE00 4.38
Blue (survey)
#0343DF
ΔE00 4.55
Sapphire
#0F52BA
ΔE00 4.89
Ocean Blue
#4F42B5
ΔE00 5.83
Cobalt
#0047AB
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394FC6 #C6B039
analogous
#3996C6 #394FC6 #6939C6
triadic
#394FC6 #C6394F #4FC639
tetradic
#394FC6 #C63996 #C6B039 #39C669
square
#394FC6 #C63996 #C6B039 #39C669
split-complementary
#394FC6 #C66939 #96C639
monochromatic
#1E2967 #2B3C96 #394FC6 #6979D4 #98A3E1
Accessibility & contrast
On white
6.76
#394FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#394FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #394FC6
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394FC6 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #394fc6; /* rgb */ color: rgb(57, 79, 198); /* oklch */ color: oklch(48.5% 0.186 269.9);
Tailwind
colors: {
custom: {
50: '#8280d8',
500: '#394fc6',
950: '#000000',
},
}SCSS
$custom: #394fc6; $custom-light: #8280d8; $custom-dark: #000000;
JSON
{
"hex": "#394fc6",
"rgb": {
"r": 57,
"g": 79,
"b": 198
},
"hsl": {
"h": 230.638,
"s": 55.294,
"l": 50
},
"oklch": {
"l": 0.48479,
"c": 0.18614,
"h": 269.9
},
"luminance": 0.10539
}Semantic roles & 50–950 ramp
primary
#394FC6
secondary
#CDC38E
accent
#C749DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83