#394284#394284
#394284 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.7% C 0.110 H 274.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #394284 |
|---|---|
| RGB | rgb(57, 66, 132) |
| HSL | hsl(233, 40%, 37%) |
| HSV | hsv(233, 57%, 52%) |
| CMYK | cmyk(56.8%, 50%, 0%, 48.2%) |
| CIE-LAB | lab(30.48, 16.94, -38.38) |
| CIE-LCH | lch(30.48, 41.96, 293.82°) |
| OKLab | oklab(40.71% 0.0088 -0.1095) |
| OKLCH | oklch(40.71% 0.11 274.6) |
| XYZ | xyz(7.7991, 6.4317, 22.6558) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.20
Darkslateblue
#483D8B
ΔE00 4.45
Twilight
#4E518B
ΔE00 5.53
Cobalt (survey)
#1E488F
ΔE00 5.76
Dusk
#4E5481
ΔE00 7.11
Darkish Blue
#014182
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394284 #847B39
analogous
#396884 #394284 #563984
triadic
#394284 #843942 #428439
tetradic
#394284 #843968 #847B39 #398456
square
#394284 #843968 #847B39 #398456
split-complementary
#394284 #845639 #688439
monochromatic
#14172F #272D59 #394284 #4B57AF #747EC3
Accessibility & contrast
On white
9.18
#394284 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#394284 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394284
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394284 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394284 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224B86
Deuteranopia (green-blind)
#184583
Tritanopia (blue-blind)
#12515C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #394284; /* rgb */ color: rgb(57, 66, 132); /* oklch */ color: oklch(40.7% 0.110 274.6);
Tailwind
colors: {
custom: {
50: '#7676a8',
500: '#394284',
950: '#000000',
},
}SCSS
$custom: #394284; $custom-light: #7676a8; $custom-dark: #000000;
JSON
{
"hex": "#394284",
"rgb": {
"r": 57,
"g": 66,
"b": 132
},
"hsl": {
"h": 232.8,
"s": 39.683,
"l": 37.059
},
"oklch": {
"l": 0.40712,
"c": 0.10985,
"h": 274.6
},
"luminance": 0.06432
}Semantic roles & 50–950 ramp
primary
#394284
secondary
#ACA56D
accent
#C158D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F