#2F2BA1#2F2BA1
#2F2BA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.182 H 275.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BA1 |
|---|---|
| RGB | rgb(47, 43, 161) |
| HSL | hsl(242, 58%, 40%) |
| HSV | hsv(242, 73%, 63%) |
| CMYK | cmyk(70.8%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(26.46, 40.29, -62.76) |
| CIE-LCH | lch(26.46, 74.58, 302.70°) |
| OKLab | oklab(38.32% 0.016 -0.1814) |
| OKLCH | oklch(38.32% 0.182 275) |
| XYZ | xyz(8.4671, 4.9045, 34.2118) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.22
Indigo Blue
#3A18B1
ΔE00 4.52
Royal
#0C1793
ΔE00 5.31
Cobalt Blue
#030AA7
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.58
True Blue
#010FCC
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BA1 #9DA12B
analogous
#2B62A1 #2F2BA1 #6A2BA1
triadic
#2F2BA1 #A12F2B #2BA12F
tetradic
#2F2BA1 #A12B62 #9DA12B #2BA16A
square
#2F2BA1 #A12B62 #9DA12B #2BA16A
split-complementary
#2F2BA1 #A16A2B #62A12B
monochromatic
#131140 #211E71 #2F2BA1 #433ECB #726ED8
Accessibility & contrast
On white
10.60
#2F2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2F2BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BA1
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BA1 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f2ba1; /* rgb */ color: rgb(47, 43, 161); /* oklch */ color: oklch(38.3% 0.182 275.0);
Tailwind
colors: {
custom: {
50: '#7966be',
500: '#2f2ba1',
950: '#000000',
},
}SCSS
$custom: #2f2ba1; $custom-light: #7966be; $custom-dark: #000000;
JSON
{
"hex": "#2f2ba1",
"rgb": {
"r": 47,
"g": 43,
"b": 161
},
"hsl": {
"h": 242.034,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.3832,
"c": 0.18213,
"h": 275
},
"luminance": 0.04905
}Semantic roles & 50–950 ramp
primary
#2F2BA1
secondary
#BCBF69
accent
#E147DC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81