#2F2AB5#2F2AB5
#2F2AB5 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.208 H 273.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2AB5 |
|---|---|
| RGB | rgb(47, 42, 181) |
| HSL | hsl(242, 62%, 44%) |
| HSV | hsv(242, 77%, 71%) |
| CMYK | cmyk(74%, 76.8%, 0%, 29%) |
| CIE-LAB | lab(28.37, 47.43, -71.64) |
| CIE-LCH | lch(28.37, 85.92, 303.51°) |
| OKLab | oklab(40.3% 0.0125 -0.2073) |
| OKLCH | oklch(40.3% 0.208 273.5) |
| XYZ | xyz(10.3380, 5.5954, 44.2423) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.57
Sapphire (survey)
#2138AB
ΔE00 4.55
True Blue
#010FCC
ΔE00 4.71
Mediumblue
#0000CD
ΔE00 5.66
Ultramarine Blue
#1805DB
ΔE00 5.69
Violet Blue
#510AC9
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2AB5 #B0B52A
analogous
#2A6AB5 #2F2AB5 #742AB5
triadic
#2F2AB5 #B52F2A #2AB52F
tetradic
#2F2AB5 #B52A6A #B0B52A #2AB574
square
#2F2AB5 #B52A6A #B0B52A #2AB574
split-complementary
#2F2AB5 #B5742A #6AB52A
monochromatic
#151352 #221E83 #2F2AB5 #4D48D4 #7D79E0
Accessibility & contrast
On white
9.91
#2F2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2F2AB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2AB5
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2AB5 | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003CB3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f2ab5; /* rgb */ color: rgb(47, 42, 181); /* oklch */ color: oklch(40.3% 0.208 273.5);
Tailwind
colors: {
custom: {
50: '#7d66cd',
500: '#2f2ab5',
950: '#000000',
},
}SCSS
$custom: #2f2ab5; $custom-light: #7d66cd; $custom-dark: #000000;
JSON
{
"hex": "#2f2ab5",
"rgb": {
"r": 47,
"g": 42,
"b": 181
},
"hsl": {
"h": 242.158,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.40296,
"c": 0.20765,
"h": 273.5
},
"luminance": 0.05596
}Semantic roles & 50–950 ramp
primary
#2F2AB5
secondary
#C5C873
accent
#E542E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82