#2F2EA1#2F2EA1
#2F2EA1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.179 H 274.5°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2EA1 |
|---|---|
| RGB | rgb(47, 46, 161) |
| HSL | hsl(241, 56%, 41%) |
| HSV | hsv(241, 71%, 63%) |
| CMYK | cmyk(70.8%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(27.10, 38.50, -61.70) |
| CIE-LCH | lch(27.10, 72.73, 301.97°) |
| OKLab | oklab(38.78% 0.0142 -0.1783) |
| OKLCH | oklch(38.78% 0.179 274.5) |
| XYZ | xyz(8.5802, 5.1307, 34.2495) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.53
Indigo Blue
#3A18B1
ΔE00 5.19
Royal
#0C1793
ΔE00 5.93
Blueberry
#464196
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.78
Ocean Blue
#4F42B5
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2EA1 #A0A12E
analogous
#2E66A1 #2F2EA1 #682EA1
triadic
#2F2EA1 #A12F2E #2EA12F
tetradic
#2F2EA1 #A12E66 #A0A12E #2EA168
square
#2F2EA1 #A12E66 #A0A12E #2EA168
split-complementary
#2F2EA1 #A1682E #66A12E
monochromatic
#131342 #212071 #2F2EA1 #4443C9 #7373D7
Accessibility & contrast
On white
10.36
#2F2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F2EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2EA1
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2EA1 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2ea1; /* rgb */ color: rgb(47, 46, 161); /* oklch */ color: oklch(38.8% 0.179 274.5);
Tailwind
colors: {
custom: {
50: '#7868be',
500: '#2f2ea1',
950: '#000000',
},
}SCSS
$custom: #2f2ea1; $custom-light: #7868be; $custom-dark: #000000;
JSON
{
"hex": "#2f2ea1",
"rgb": {
"r": 47,
"g": 46,
"b": 161
},
"hsl": {
"h": 240.522,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.38779,
"c": 0.17891,
"h": 274.5
},
"luminance": 0.05132
}Semantic roles & 50–950 ramp
primary
#2F2EA1
secondary
#BEBE6C
accent
#DF49DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81