#3E2FAF#3E2FAF
#3E2FAF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.192 H 279.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2FAF |
|---|---|
| RGB | rgb(62, 47, 175) |
| HSL | hsl(247, 58%, 44%) |
| HSV | hsv(247, 73%, 69%) |
| CMYK | cmyk(64.6%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(29.79, 44.34, -65.67) |
| CIE-LCH | lch(29.79, 79.24, 304.03°) |
| OKLab | oklab(41.4% 0.0306 -0.1895) |
| OKLCH | oklch(41.4% 0.192 279.2) |
| XYZ | xyz(10.7385, 6.1515, 41.1706) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.33
Sapphire (survey)
#2138AB
ΔE00 4.52
Ocean Blue
#4F42B5
ΔE00 5.22
Blue With A Hint Of Purple
#533CC6
ΔE00 5.26
Blurple
#5539CC
ΔE00 5.63
Violet Blue
#510AC9
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2FAF #A0AF2F
analogous
#2F60AF #3E2FAF #7E2FAF
triadic
#3E2FAF #AF3E2F #2FAF3E
tetradic
#3E2FAF #AF2F60 #A0AF2F #2FAF7E
square
#3E2FAF #AF2F60 #A0AF2F #2FAF7E
split-complementary
#3E2FAF #AF7E2F #60AF2F
monochromatic
#1C154F #2D227F #3E2FAF #5C4CCF #887CDC
Accessibility & contrast
On white
9.42
#3E2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#3E2FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2FAF
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2FAF | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3e2faf; /* rgb */ color: rgb(62, 47, 175); /* oklch */ color: oklch(41.4% 0.192 279.2);
Tailwind
colors: {
custom: {
50: '#826ac8',
500: '#3e2faf',
950: '#000000',
},
}SCSS
$custom: #3e2faf; $custom-light: #826ac8; $custom-dark: #000000;
JSON
{
"hex": "#3e2faf",
"rgb": {
"r": 62,
"g": 47,
"b": 175
},
"hsl": {
"h": 247.031,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.41396,
"c": 0.19201,
"h": 279.2
},
"luminance": 0.06152
}Semantic roles & 50–950 ramp
primary
#3E2FAF
secondary
#BBC475
accent
#E147CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82