#394FBA#394FBA
#394FBA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.170 H 269.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #394FBA |
|---|---|
| RGB | rgb(57, 79, 186) |
| HSL | hsl(230, 53%, 48%) |
| HSV | hsv(230, 69%, 73%) |
| CMYK | cmyk(69.4%, 57.5%, 0%, 27.1%) |
| CIE-LAB | lab(37.85, 27.74, -59.02) |
| CIE-LCH | lch(37.85, 65.21, 295.17°) |
| OKLab | oklab(47.49% -0.0003 -0.17) |
| OKLCH | oklch(47.49% 0.17 269.9) |
| XYZ | xyz(13.3432, 10.0057, 47.6729) |
| Luminance | 0.1001 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.19
Blue Blue
#2242C7
ΔE00 4.31
Cobalt
#0047AB
ΔE00 5.16
Blue (survey)
#0343DF
ΔE00 5.68
Warm Blue
#4B57DB
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394FBA #BAA439
analogous
#3990BA #394FBA #6339BA
triadic
#394FBA #BA394F #4FBA39
tetradic
#394FBA #BA3990 #BAA439 #39BA63
square
#394FBA #BA3990 #BAA439 #39BA63
split-complementary
#394FBA #BA6339 #90BA39
monochromatic
#1C275C #2B3B8B #394FBA #6174CF #909DDD
Accessibility & contrast
On white
7.00
#394FBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#394FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #394FBA
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394FBA | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #394fba; /* rgb */ color: rgb(57, 79, 186); /* oklch */ color: oklch(47.5% 0.170 269.9);
Tailwind
colors: {
custom: {
50: '#7f80d0',
500: '#394fba',
950: '#000000',
},
}SCSS
$custom: #394fba; $custom-light: #7f80d0; $custom-dark: #000000;
JSON
{
"hex": "#394fba",
"rgb": {
"r": 57,
"g": 79,
"b": 186
},
"hsl": {
"h": 229.767,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.47488,
"c": 0.17003,
"h": 269.9
},
"luminance": 0.10007
}Semantic roles & 50–950 ramp
primary
#394FBA
secondary
#C8BD87
accent
#C44BDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82