#394DC6#394DC6
#394DC6 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.189 H 270.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #394DC6 |
|---|---|
| RGB | rgb(57, 77, 198) |
| HSL | hsl(231, 55%, 50%) |
| HSV | hsv(231, 71%, 78%) |
| CMYK | cmyk(71.2%, 61.1%, 0%, 22.4%) |
| CIE-LAB | lab(38.29, 33.33, -65.31) |
| CIE-LCH | lch(38.29, 73.33, 297.04°) |
| OKLab | oklab(48.11% 0.0013 -0.1885) |
| OKLCH | oklch(48.11% 0.189 270.4) |
| XYZ | xyz(14.5308, 10.2534, 54.6284) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.41
Blue (survey)
#0343DF
ΔE00 4.16
Warm Blue
#4B57DB
ΔE00 4.67
Sapphire
#0F52BA
ΔE00 5.25
Ocean Blue
#4F42B5
ΔE00 5.33
Cobalt
#0047AB
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394DC6 #C6B239
analogous
#3994C6 #394DC6 #6B39C6
triadic
#394DC6 #C6394D #4DC639
tetradic
#394DC6 #C63994 #C6B239 #39C66B
square
#394DC6 #C63994 #C6B239 #39C66B
split-complementary
#394DC6 #C66B39 #94C639
monochromatic
#1E2867 #2B3B96 #394DC6 #6978D4 #98A2E1
Accessibility & contrast
On white
6.88
#394DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#394DC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #394DC6
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394DC6 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #394dc6; /* rgb */ color: rgb(57, 77, 198); /* oklch */ color: oklch(48.1% 0.189 270.4);
Tailwind
colors: {
custom: {
50: '#827ed8',
500: '#394dc6',
950: '#000000',
},
}SCSS
$custom: #394dc6; $custom-light: #827ed8; $custom-dark: #000000;
JSON
{
"hex": "#394dc6",
"rgb": {
"r": 57,
"g": 77,
"b": 198
},
"hsl": {
"h": 231.489,
"s": 55.294,
"l": 50
},
"oklch": {
"l": 0.48111,
"c": 0.18854,
"h": 270.4
},
"luminance": 0.10255
}Semantic roles & 50–950 ramp
primary
#394DC6
secondary
#CDC48E
accent
#C949DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83