#394FC1#394FC1
#394FC1 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.179 H 269.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #394FC1 |
|---|---|
| RGB | rgb(57, 79, 193) |
| HSL | hsl(230, 54%, 49%) |
| HSV | hsv(230, 70%, 76%) |
| CMYK | cmyk(70.5%, 59.1%, 0%, 24.3%) |
| CIE-LAB | lab(38.39, 30.26, -62.23) |
| CIE-LCH | lch(38.39, 69.20, 295.93°) |
| OKLab | oklab(48.06% -0.0002 -0.1795) |
| OKLCH | oklch(48.06% 0.179 269.9) |
| XYZ | xyz(14.1057, 10.3107, 51.6885) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.01
Sapphire
#0F52BA
ΔE00 4.54
Warm Blue
#4B57DB
ΔE00 4.91
Blue (survey)
#0343DF
ΔE00 4.98
Cobalt
#0047AB
ΔE00 5.76
Ocean Blue
#4F42B5
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394FC1 #C1AB39
analogous
#3993C1 #394FC1 #6739C1
triadic
#394FC1 #C1394F #4FC139
tetradic
#394FC1 #C13993 #C1AB39 #39C167
square
#394FC1 #C13993 #C1AB39 #39C167
split-complementary
#394FC1 #C16739 #93C139
monochromatic
#1D2863 #2B3C92 #394FC1 #6677D2 #95A1E0
Accessibility & contrast
On white
6.86
#394FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#394FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #394FC1
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394FC1 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #394fc1; /* rgb */ color: rgb(57, 79, 193); /* oklch */ color: oklch(48.1% 0.179 269.9);
Tailwind
colors: {
custom: {
50: '#8180d5',
500: '#394fc1',
950: '#000000',
},
}SCSS
$custom: #394fc1; $custom-light: #8180d5; $custom-dark: #000000;
JSON
{
"hex": "#394fc1",
"rgb": {
"r": 57,
"g": 79,
"b": 193
},
"hsl": {
"h": 230.294,
"s": 54.4,
"l": 49.02
},
"oklch": {
"l": 0.48061,
"c": 0.17948,
"h": 269.9
},
"luminance": 0.10312
}Semantic roles & 50–950 ramp
primary
#394FC1
secondary
#CBC18B
accent
#C64ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83