#393FAF#393FAF
#393FAF is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.175 H 274.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #393FAF |
|---|---|
| RGB | rgb(57, 63, 175) |
| HSL | hsl(237, 51%, 45%) |
| HSV | hsv(237, 67%, 69%) |
| CMYK | cmyk(67.4%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(32.96, 34.09, -60.49) |
| CIE-LCH | lch(32.96, 69.44, 299.41°) |
| OKLab | oklab(43.59% 0.0127 -0.1745) |
| OKLCH | oklch(43.59% 0.175 274.1) |
| XYZ | xyz(11.2001, 7.5190, 41.4102) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.90
Ocean Blue
#4F42B5
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 3.63
Blueberry
#464196
ΔE00 4.46
Blue With A Hint Of Purple
#533CC6
ΔE00 5.21
Blurple
#5539CC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393FAF #AFA939
analogous
#397AAF #393FAF #6E39AF
triadic
#393FAF #AF393F #3FAF39
tetradic
#393FAF #AF397A #AFA939 #39AF6E
square
#393FAF #AF397A #AFA939 #39AF6E
split-complementary
#393FAF #AF6E39 #7AAF39
monochromatic
#1B1E53 #2A2E81 #393FAF #5B61CA #8A8ED9
Accessibility & contrast
On white
8.39
#393FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#393FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393FAF
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393FAF | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #393faf; /* rgb */ color: rgb(57, 63, 175); /* oklch */ color: oklch(43.6% 0.175 274.1);
Tailwind
colors: {
custom: {
50: '#7e74c8',
500: '#393faf',
950: '#000000',
},
}SCSS
$custom: #393faf; $custom-light: #7e74c8; $custom-dark: #000000;
JSON
{
"hex": "#393faf",
"rgb": {
"r": 57,
"g": 63,
"b": 175
},
"hsl": {
"h": 236.949,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.43591,
"c": 0.17496,
"h": 274.1
},
"luminance": 0.0752
}Semantic roles & 50–950 ramp
primary
#393FAF
secondary
#C3C081
accent
#D34DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82