#2F2E9E#2F2E9E
#2F2E9E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.175 H 274.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E9E |
|---|---|
| RGB | rgb(47, 46, 158) |
| HSL | hsl(241, 55%, 40%) |
| HSV | hsv(241, 71%, 62%) |
| CMYK | cmyk(70.3%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(26.81, 37.47, -60.36) |
| CIE-LCH | lch(26.81, 71.05, 301.83°) |
| OKLab | oklab(38.48% 0.0146 -0.1744) |
| OKLCH | oklch(38.48% 0.175 274.8) |
| XYZ | xyz(8.3188, 5.0262, 32.8729) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.68
Indigo Blue
#3A18B1
ΔE00 5.43
Royal
#0C1793
ΔE00 5.82
Blueberry
#464196
ΔE00 6.16
Darkslateblue
#483D8B
ΔE00 6.55
Cobalt Blue
#030AA7
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E9E #9D9E2E
analogous
#2E659E #2F2E9E #672E9E
triadic
#2F2E9E #9E2F2E #2E9E2F
tetradic
#2F2E9E #9E2E65 #9D9E2E #2E9E67
square
#2F2E9E #9E2E65 #9D9E2E #2E9E67
split-complementary
#2F2E9E #9E672E #659E2E
monochromatic
#13123F #21206F #2F2E9E #4341C8 #7271D6
Accessibility & contrast
On white
10.47
#2F2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2F2E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E9E
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E9E | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f2e9e; /* rgb */ color: rgb(47, 46, 158); /* oklch */ color: oklch(38.5% 0.175 274.8);
Tailwind
colors: {
custom: {
50: '#7868bc',
500: '#2f2e9e',
950: '#000000',
},
}SCSS
$custom: #2f2e9e; $custom-light: #7868bc; $custom-dark: #000000;
JSON
{
"hex": "#2f2e9e",
"rgb": {
"r": 47,
"g": 46,
"b": 158
},
"hsl": {
"h": 240.536,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.38479,
"c": 0.17505,
"h": 274.8
},
"luminance": 0.05027
}Semantic roles & 50–950 ramp
primary
#2F2E9E
secondary
#BCBD6B
accent
#DE4ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81