#2F2BAB#2F2BAB
#2F2BAB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.195 H 274.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BAB |
|---|---|
| RGB | rgb(47, 43, 171) |
| HSL | hsl(242, 60%, 42%) |
| HSV | hsv(242, 75%, 67%) |
| CMYK | cmyk(72.5%, 74.9%, 0%, 32.9%) |
| CIE-LAB | lab(27.49, 43.62, -67.10) |
| CIE-LCH | lch(27.49, 80.03, 303.03°) |
| OKLab | oklab(39.36% 0.0141 -0.1941) |
| OKLCH | oklch(39.36% 0.195 274.1) |
| XYZ | xyz(9.3844, 5.2714, 39.0431) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.91
Sapphire (survey)
#2138AB
ΔE00 4.09
True Blue
#010FCC
ΔE00 5.63
Royal
#0C1793
ΔE00 5.97
Cobalt Blue
#030AA7
ΔE00 6.19
Ultramarine
#2000B1
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BAB #A7AB2B
analogous
#2B67AB #2F2BAB #6F2BAB
triadic
#2F2BAB #AB2F2B #2BAB2F
tetradic
#2F2BAB #AB2B67 #A7AB2B #2BAB6F
square
#2F2BAB #AB2B67 #A7AB2B #2BAB6F
split-complementary
#2F2BAB #AB6F2B #67AB2B
monochromatic
#141249 #221F7A #2F2BAB #4843D0 #7874DC
Accessibility & contrast
On white
10.22
#2F2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2F2BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BAB
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BAB | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f2bab; /* rgb */ color: rgb(47, 43, 171); /* oklch */ color: oklch(39.4% 0.195 274.1);
Tailwind
colors: {
custom: {
50: '#7b66c5',
500: '#2f2bab',
950: '#000000',
},
}SCSS
$custom: #2f2bab; $custom-light: #7b66c5; $custom-dark: #000000;
JSON
{
"hex": "#2f2bab",
"rgb": {
"r": 47,
"g": 43,
"b": 171
},
"hsl": {
"h": 241.875,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.39363,
"c": 0.19458,
"h": 274.1
},
"luminance": 0.05272
}Semantic roles & 50–950 ramp
primary
#2F2BAB
secondary
#C1C46E
accent
#E345DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82