#2F2EA9#2F2EA9
#2F2EA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.189 H 273.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2EA9 |
|---|---|
| RGB | rgb(47, 46, 169) |
| HSL | hsl(240, 57%, 42%) |
| HSV | hsv(240, 73%, 66%) |
| CMYK | cmyk(72.2%, 72.8%, 0%, 33.7%) |
| CIE-LAB | lab(27.90, 41.23, -65.22) |
| CIE-LCH | lch(27.90, 77.16, 302.30°) |
| OKLab | oklab(39.59% 0.0129 -0.1886) |
| OKLCH | oklch(39.59% 0.189 273.9) |
| XYZ | xyz(9.3083, 5.4220, 38.0844) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.38
Indigo Blue
#3A18B1
ΔE00 4.69
True Blue
#010FCC
ΔE00 6.34
Royal
#0C1793
ΔE00 6.36
Ocean Blue
#4F42B5
ΔE00 6.43
Blueberry
#464196
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2EA9 #A8A92E
analogous
#2E6AA9 #2F2EA9 #6D2EA9
triadic
#2F2EA9 #A92F2E #2EA92F
tetradic
#2F2EA9 #A92E6A #A8A92E #2EA96D
square
#2F2EA9 #A92E6A #A8A92E #2EA96D
split-complementary
#2F2EA9 #A96D2E #6AA92E
monochromatic
#141449 #222179 #2F2EA9 #4847CD #7877DA
Accessibility & contrast
On white
10.07
#2F2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F2EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2EA9
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2EA9 | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f2ea9; /* rgb */ color: rgb(47, 46, 169); /* oklch */ color: oklch(39.6% 0.189 273.9);
Tailwind
colors: {
custom: {
50: '#7a68c4',
500: '#2f2ea9',
950: '#000000',
},
}SCSS
$custom: #2f2ea9; $custom-light: #7a68c4; $custom-dark: #000000;
JSON
{
"hex": "#2f2ea9",
"rgb": {
"r": 47,
"g": 46,
"b": 169
},
"hsl": {
"h": 240.488,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.39593,
"c": 0.18905,
"h": 273.9
},
"luminance": 0.05423
}Semantic roles & 50–950 ramp
primary
#2F2EA9
secondary
#C1C271
accent
#E047DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82