#2F2EA5#2F2EA5
#2F2EA5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.184 H 274.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2EA5 |
|---|---|
| RGB | rgb(47, 46, 165) |
| HSL | hsl(241, 56%, 41%) |
| HSV | hsv(241, 72%, 65%) |
| CMYK | cmyk(71.5%, 72.1%, 0%, 35.3%) |
| CIE-LAB | lab(27.50, 39.87, -63.47) |
| CIE-LCH | lch(27.50, 74.95, 302.14°) |
| OKLab | oklab(39.18% 0.0135 -0.1835) |
| OKLCH | oklch(39.18% 0.184 274.2) |
| XYZ | xyz(8.9386, 5.2741, 36.1369) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.41
Indigo Blue
#3A18B1
ΔE00 4.91
Royal
#0C1793
ΔE00 6.12
Blueberry
#464196
ΔE00 6.47
Ocean Blue
#4F42B5
ΔE00 6.64
True Blue
#010FCC
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2EA5 #A4A52E
analogous
#2E69A5 #2F2EA5 #6B2EA5
triadic
#2F2EA5 #A52F2E #2EA52F
tetradic
#2F2EA5 #A52E69 #A4A52E #2EA56B
square
#2F2EA5 #A52E69 #A4A52E #2EA56B
split-complementary
#2F2EA5 #A56B2E #69A52E
monochromatic
#141345 #212175 #2F2EA5 #4645CB #7675D8
Accessibility & contrast
On white
10.22
#2F2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F2EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2EA5
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2EA5 | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f2ea5; /* rgb */ color: rgb(47, 46, 165); /* oklch */ color: oklch(39.2% 0.184 274.2);
Tailwind
colors: {
custom: {
50: '#7968c1',
500: '#2f2ea5',
950: '#000000',
},
}SCSS
$custom: #2f2ea5; $custom-light: #7968c1; $custom-dark: #000000;
JSON
{
"hex": "#2f2ea5",
"rgb": {
"r": 47,
"g": 46,
"b": 165
},
"hsl": {
"h": 240.504,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.39184,
"c": 0.18401,
"h": 274.2
},
"luminance": 0.05275
}Semantic roles & 50–950 ramp
primary
#2F2EA5
secondary
#C0C06F
accent
#E048DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81