#394296#394296
#394296 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.136 H 274.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #394296 |
|---|---|
| RGB | rgb(57, 66, 150) |
| HSL | hsl(234, 45%, 41%) |
| HSV | hsv(234, 62%, 59%) |
| CMYK | cmyk(62%, 56%, 0%, 41.2%) |
| CIE-LAB | lab(31.73, 23.32, -47.42) |
| CIE-LCH | lch(31.73, 52.85, 296.18°) |
| OKLab | oklab(42.06% 0.0103 -0.1361) |
| OKLCH | oklch(42.06% 0.136 274.3) |
| XYZ | xyz(9.1388, 6.9676, 29.7115) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.59
Darkslateblue
#483D8B
ΔE00 4.30
Sapphire (survey)
#2138AB
ΔE00 4.86
Cobalt (survey)
#1E488F
ΔE00 5.74
Cobalt
#0047AB
ΔE00 5.92
Ocean Blue
#4F42B5
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394296 #968D39
analogous
#397096 #394296 #5F3996
triadic
#394296 #963942 #429639
tetradic
#394296 #963970 #968D39 #39965F
square
#394296 #963970 #968D39 #39965F
split-complementary
#394296 #965F39 #709639
monochromatic
#171B3D #282E6A #394296 #505ABC #7C84CD
Accessibility & contrast
On white
8.77
#394296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#394296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394296
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394296 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#044F99
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #394296; /* rgb */ color: rgb(57, 66, 150); /* oklch */ color: oklch(42.1% 0.136 274.3);
Tailwind
colors: {
custom: {
50: '#7976b5',
500: '#394296',
950: '#000000',
},
}SCSS
$custom: #394296; $custom-light: #7976b5; $custom-dark: #000000;
JSON
{
"hex": "#394296",
"rgb": {
"r": 57,
"g": 66,
"b": 150
},
"hsl": {
"h": 234.194,
"s": 44.928,
"l": 40.588
},
"oklch": {
"l": 0.42059,
"c": 0.13648,
"h": 274.3
},
"luminance": 0.06968
}Semantic roles & 50–950 ramp
primary
#394296
secondary
#B7B074
accent
#C853D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80