#393D88#393D88
#393D88 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.123 H 277.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #393D88 |
|---|---|
| RGB | rgb(57, 61, 136) |
| HSL | hsl(237, 41%, 38%) |
| HSV | hsv(237, 58%, 53%) |
| CMYK | cmyk(58.1%, 55.1%, 0%, 46.7%) |
| CIE-LAB | lab(29.37, 21.69, -42.64) |
| CIE-LCH | lch(29.37, 47.84, 296.97°) |
| OKLab | oklab(39.97% 0.015 -0.122) |
| OKLCH | oklch(39.97% 0.123 277) |
| XYZ | xyz(7.7986, 5.9844, 24.0319) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.11
Darkslateblue
#483D8B
ΔE00 3.13
Sapphire (survey)
#2138AB
ΔE00 6.21
Twilight
#4E518B
ΔE00 6.90
Cobalt (survey)
#1E488F
ΔE00 6.91
Ocean Blue
#4F42B5
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393D88 #888439
analogous
#396488 #393D88 #5C3988
triadic
#393D88 #88393D #3D8839
tetradic
#393D88 #883964 #888439 #39885C
square
#393D88 #883964 #888439 #39885C
split-complementary
#393D88 #885C39 #648839
monochromatic
#151632 #272A5D #393D88 #4B50B3 #767AC6
Accessibility & contrast
On white
9.56
#393D88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#393D88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393D88
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393D88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393D88 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F498B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#0C4E5C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #393d88; /* rgb */ color: rgb(57, 61, 136); /* oklch */ color: oklch(40.0% 0.123 277.0);
Tailwind
colors: {
custom: {
50: '#7772ab',
500: '#393d88',
950: '#000000',
},
}SCSS
$custom: #393d88; $custom-light: #7772ab; $custom-dark: #000000;
JSON
{
"hex": "#393d88",
"rgb": {
"r": 57,
"g": 61,
"b": 136
},
"hsl": {
"h": 236.962,
"s": 40.933,
"l": 37.843
},
"oklch": {
"l": 0.39969,
"c": 0.12296,
"h": 277
},
"luminance": 0.05985
}Semantic roles & 50–950 ramp
primary
#393D88
secondary
#AFAB6E
accent
#CB57D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090810
muted
#7B7B7F