#2F2BA0#2F2BA0
#2F2BA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.181 H 275.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BA0 |
|---|---|
| RGB | rgb(47, 43, 160) |
| HSL | hsl(242, 58%, 40%) |
| HSV | hsv(242, 73%, 63%) |
| CMYK | cmyk(70.6%, 73.1%, 0%, 37.3%) |
| CIE-LAB | lab(26.36, 39.95, -62.32) |
| CIE-LCH | lch(26.36, 74.02, 302.66°) |
| OKLab | oklab(38.22% 0.0161 -0.1801) |
| OKLCH | oklch(38.22% 0.181 275.1) |
| XYZ | xyz(8.3792, 4.8694, 33.7492) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.26
Indigo Blue
#3A18B1
ΔE00 4.60
Royal
#0C1793
ΔE00 5.26
Cobalt Blue
#030AA7
ΔE00 6.22
Ultramarine
#2000B1
ΔE00 6.63
Royal Blue (survey)
#0504AA
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BA0 #9CA02B
analogous
#2B62A0 #2F2BA0 #692BA0
triadic
#2F2BA0 #A02F2B #2BA02F
tetradic
#2F2BA0 #A02B62 #9CA02B #2BA069
square
#2F2BA0 #A02B62 #9CA02B #2BA069
split-complementary
#2F2BA0 #A0692B #62A02B
monochromatic
#131140 #211E70 #2F2BA0 #423DCB #716ED8
Accessibility & contrast
On white
10.64
#2F2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2F2BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BA0
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BA0 | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f2ba0; /* rgb */ color: rgb(47, 43, 160); /* oklch */ color: oklch(38.2% 0.181 275.1);
Tailwind
colors: {
custom: {
50: '#7866bd',
500: '#2f2ba0',
950: '#000000',
},
}SCSS
$custom: #2f2ba0; $custom-light: #7866bd; $custom-dark: #000000;
JSON
{
"hex": "#2f2ba0",
"rgb": {
"r": 47,
"g": 43,
"b": 160
},
"hsl": {
"h": 242.051,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.38217,
"c": 0.18087,
"h": 275.1
},
"luminance": 0.0487
}Semantic roles & 50–950 ramp
primary
#2F2BA0
secondary
#BCBF68
accent
#E147DC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81