#393CB2#393CB2
#393CB2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.182 H 274.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #393CB2 |
|---|---|
| RGB | rgb(57, 60, 178) |
| HSL | hsl(239, 51%, 46%) |
| HSV | hsv(239, 68%, 70%) |
| CMYK | cmyk(68%, 66.3%, 0%, 30.2%) |
| CIE-LAB | lab(32.51, 37.01, -63.01) |
| CIE-LCH | lch(32.51, 73.07, 300.43°) |
| OKLab | oklab(43.35% 0.0147 -0.1819) |
| OKLCH | oklch(43.35% 0.182 274.6) |
| XYZ | xyz(11.3364, 7.3149, 42.9253) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.80
Ocean Blue
#4F42B5
ΔE00 3.31
Blue Blue
#2242C7
ΔE00 3.71
Blue With A Hint Of Purple
#533CC6
ΔE00 4.67
Blueberry
#464196
ΔE00 5.00
Blurple
#5539CC
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393CB2 #B2AF39
analogous
#3978B2 #393CB2 #7239B2
triadic
#393CB2 #B2393C #3CB239
tetradic
#393CB2 #B23978 #B2AF39 #39B272
square
#393CB2 #B23978 #B2AF39 #39B272
split-complementary
#393CB2 #B27239 #78B239
monochromatic
#1B1D55 #2A2C84 #393CB2 #5D60CB #8B8DDA
Accessibility & contrast
On white
8.53
#393CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#393CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393CB2
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393CB2 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #393cb2; /* rgb */ color: rgb(57, 60, 178); /* oklch */ color: oklch(43.3% 0.182 274.6);
Tailwind
colors: {
custom: {
50: '#7f72ca',
500: '#393cb2',
950: '#000000',
},
}SCSS
$custom: #393cb2; $custom-light: #7f72ca; $custom-dark: #000000;
JSON
{
"hex": "#393cb2",
"rgb": {
"r": 57,
"g": 60,
"b": 178
},
"hsl": {
"h": 238.512,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.43345,
"c": 0.18249,
"h": 274.6
},
"luminance": 0.07316
}Semantic roles & 50–950 ramp
primary
#393CB2
secondary
#C4C382
accent
#D74DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82