#394282#394282
#394282 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.6% C 0.107 H 274.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #394282 |
|---|---|
| RGB | rgb(57, 66, 130) |
| HSL | hsl(233, 39%, 37%) |
| HSV | hsv(233, 56%, 51%) |
| CMYK | cmyk(56.2%, 49.2%, 0%, 49%) |
| CIE-LAB | lab(30.35, 16.24, -37.35) |
| CIE-LCH | lch(30.35, 40.73, 293.50°) |
| OKLab | oklab(40.57% 0.0086 -0.1064) |
| OKLCH | oklch(40.57% 0.107 274.6) |
| XYZ | xyz(7.6635, 6.3775, 21.9419) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.50
Darkslateblue
#483D8B
ΔE00 4.61
Twilight
#4E518B
ΔE00 5.50
Cobalt (survey)
#1E488F
ΔE00 5.86
Dusk
#4E5481
ΔE00 6.96
Darkish Blue
#014182
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394282 #827939
analogous
#396782 #394282 #553982
triadic
#394282 #823942 #428239
tetradic
#394282 #823967 #827939 #398255
square
#394282 #823967 #827939 #398255
split-complementary
#394282 #825539 #678239
monochromatic
#14172D #262C57 #394282 #4C58AD #747DC2
Accessibility & contrast
On white
9.23
#394282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#394282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394282
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394282 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244B84
Deuteranopia (green-blind)
#1B4581
Tritanopia (blue-blind)
#15505B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #394282; /* rgb */ color: rgb(57, 66, 130); /* oklch */ color: oklch(40.6% 0.107 274.6);
Tailwind
colors: {
custom: {
50: '#7576a7',
500: '#394282',
950: '#000000',
},
}SCSS
$custom: #394282; $custom-light: #7576a7; $custom-dark: #000000;
JSON
{
"hex": "#394282",
"rgb": {
"r": 57,
"g": 66,
"b": 130
},
"hsl": {
"h": 232.603,
"s": 39.037,
"l": 36.667
},
"oklch": {
"l": 0.4057,
"c": 0.10679,
"h": 274.6
},
"luminance": 0.06378
}Semantic roles & 50–950 ramp
primary
#394282
secondary
#ABA36C
accent
#C059CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F