#2F2EAA#2F2EAA
#2F2EAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.190 H 273.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2EAA |
|---|---|
| RGB | rgb(47, 46, 170) |
| HSL | hsl(240, 57%, 42%) |
| HSV | hsv(240, 73%, 67%) |
| CMYK | cmyk(72.4%, 72.9%, 0%, 33.3%) |
| CIE-LAB | lab(28.01, 41.56, -65.65) |
| CIE-LCH | lch(28.01, 77.70, 302.34°) |
| OKLab | oklab(39.7% 0.0127 -0.1899) |
| OKLCH | oklch(39.7% 0.19 273.8) |
| XYZ | xyz(9.4026, 5.4597, 38.5807) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.38
Indigo Blue
#3A18B1
ΔE00 4.65
True Blue
#010FCC
ΔE00 6.25
Ocean Blue
#4F42B5
ΔE00 6.39
Royal
#0C1793
ΔE00 6.43
Blue Blue
#2242C7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2EAA #A9AA2E
analogous
#2E6BAA #2F2EAA #6D2EAA
triadic
#2F2EAA #AA2F2E #2EAA2F
tetradic
#2F2EAA #AA2E6B #A9AA2E #2EAA6D
square
#2F2EAA #AA2E6B #A9AA2E #2EAA6D
split-complementary
#2F2EAA #AA6D2E #6BAA2E
monochromatic
#14144A #22217A #2F2EAA #4948CD #7978DA
Accessibility & contrast
On white
10.04
#2F2EAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2F2EAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2EAA
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2EAA | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f2eaa; /* rgb */ color: rgb(47, 46, 170); /* oklch */ color: oklch(39.7% 0.190 273.8);
Tailwind
colors: {
custom: {
50: '#7a68c4',
500: '#2f2eaa',
950: '#000000',
},
}SCSS
$custom: #2f2eaa; $custom-light: #7a68c4; $custom-dark: #000000;
JSON
{
"hex": "#2f2eaa",
"rgb": {
"r": 47,
"g": 46,
"b": 170
},
"hsl": {
"h": 240.484,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.39696,
"c": 0.1903,
"h": 273.8
},
"luminance": 0.05461
}Semantic roles & 50–950 ramp
primary
#2F2EAA
secondary
#C2C371
accent
#E147DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82