#2F2BAA#2F2BAA
#2F2BAA is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.193 H 274.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BAA |
|---|---|
| RGB | rgb(47, 43, 170) |
| HSL | hsl(242, 60%, 42%) |
| HSV | hsv(242, 75%, 67%) |
| CMYK | cmyk(72.4%, 74.7%, 0%, 33.3%) |
| CIE-LAB | lab(27.39, 43.29, -66.67) |
| CIE-LCH | lch(27.39, 79.49, 303.00°) |
| OKLab | oklab(39.26% 0.0143 -0.1928) |
| OKLCH | oklch(39.26% 0.193 274.2) |
| XYZ | xyz(9.2895, 5.2335, 38.5430) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.95
Sapphire (survey)
#2138AB
ΔE00 4.08
True Blue
#010FCC
ΔE00 5.72
Royal
#0C1793
ΔE00 5.89
Cobalt Blue
#030AA7
ΔE00 6.17
Ultramarine
#2000B1
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BAA #A6AA2B
analogous
#2B67AA #2F2BAA #6F2BAA
triadic
#2F2BAA #AA2F2B #2BAA2F
tetradic
#2F2BAA #AA2B67 #A6AA2B #2BAA6F
square
#2F2BAA #AA2B67 #A6AA2B #2BAA6F
split-complementary
#2F2BAA #AA6F2B #67AA2B
monochromatic
#141248 #211F79 #2F2BAA #4743CF #7774DC
Accessibility & contrast
On white
10.26
#2F2BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2F2BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BAA
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BAA | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f2baa; /* rgb */ color: rgb(47, 43, 170); /* oklch */ color: oklch(39.3% 0.193 274.2);
Tailwind
colors: {
custom: {
50: '#7b66c5',
500: '#2f2baa',
950: '#000000',
},
}SCSS
$custom: #2f2baa; $custom-light: #7b66c5; $custom-dark: #000000;
JSON
{
"hex": "#2f2baa",
"rgb": {
"r": 47,
"g": 43,
"b": 170
},
"hsl": {
"h": 241.89,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.39258,
"c": 0.19335,
"h": 274.2
},
"luminance": 0.05234
}Semantic roles & 50–950 ramp
primary
#2F2BAA
secondary
#C1C36E
accent
#E345DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82