#394FCC#394FCC
#394FCC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.194 H 269.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #394FCC |
|---|---|
| RGB | rgb(57, 79, 204) |
| HSL | hsl(231, 59%, 51%) |
| HSV | hsv(231, 72%, 80%) |
| CMYK | cmyk(72.1%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(39.28, 34.20, -67.19) |
| CIE-LCH | lch(39.28, 75.39, 296.98°) |
| OKLab | oklab(48.99% -0.0003 -0.194) |
| OKLCH | oklch(48.99% 0.194 269.9) |
| XYZ | xyz(15.3787, 10.8199, 58.3930) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.80
Blue Blue
#2242C7
ΔE00 4.06
Blue (survey)
#0343DF
ΔE00 4.15
Sapphire
#0F52BA
ΔE00 5.38
Ocean Blue
#4F42B5
ΔE00 6.02
Electric Blue
#0652FF
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394FCC #CCB639
analogous
#3998CC #394FCC #6C39CC
triadic
#394FCC #CC394F #4FCC39
tetradic
#394FCC #CC3998 #CCB639 #39CC6C
square
#394FCC #CC3998 #CCB639 #39CC6C
split-complementary
#394FCC #CC6C39 #98CC39
monochromatic
#1C296E #293B9F #394FCC #6A7AD9 #9AA6E5
Accessibility & contrast
On white
6.64
#394FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#394FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #394FCC
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394FCC | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #394fcc; /* rgb */ color: rgb(57, 79, 204); /* oklch */ color: oklch(49.0% 0.194 269.9);
Tailwind
colors: {
custom: {
50: '#8380dd',
500: '#394fcc',
950: '#000000',
},
}SCSS
$custom: #394fcc; $custom-light: #8380dd; $custom-dark: #000000;
JSON
{
"hex": "#394fcc",
"rgb": {
"r": 57,
"g": 79,
"b": 204
},
"hsl": {
"h": 231.02,
"s": 59.036,
"l": 51.176
},
"oklch": {
"l": 0.48989,
"c": 0.19402,
"h": 269.9
},
"luminance": 0.10821
}Semantic roles & 50–950 ramp
primary
#394FCC
secondary
#D1C790
accent
#CB46E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83