#2A2FB0#2A2FB0
#2A2FB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.198 H 271.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2FB0 |
|---|---|
| RGB | rgb(42, 47, 176) |
| HSL | hsl(238, 61%, 43%) |
| HSV | hsv(238, 76%, 69%) |
| CMYK | cmyk(76.1%, 73.3%, 0%, 31%) |
| CIE-LAB | lab(28.53, 42.54, -68.39) |
| CIE-LCH | lch(28.53, 80.54, 301.88°) |
| OKLab | oklab(40.18% 0.0054 -0.198) |
| OKLCH | oklch(40.18% 0.198 271.6) |
| XYZ | xyz(9.8052, 5.6588, 41.6414) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Indigo Blue
#3A18B1
ΔE00 4.93
True Blue
#010FCC
ΔE00 5.97
Blue Blue
#2242C7
ΔE00 5.99
Ocean Blue
#4F42B5
ΔE00 6.27
Blue With A Hint Of Purple
#533CC6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2FB0 #B0AB2A
analogous
#2A72B0 #2A2FB0 #682AB0
triadic
#2A2FB0 #B02A2F #2FB02A
tetradic
#2A2FB0 #B02A72 #B0AB2A #2AB068
square
#2A2FB0 #B02A72 #B0AB2A #2AB068
split-complementary
#2A2FB0 #B0682A #72B02A
monochromatic
#12154D #1E227F #2A2FB0 #454AD3 #767ADE
Accessibility & contrast
On white
9.85
#2A2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2A2FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2FB0
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2FB0 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a2fb0; /* rgb */ color: rgb(42, 47, 176); /* oklch */ color: oklch(40.2% 0.198 271.6);
Tailwind
colors: {
custom: {
50: '#7a69c9',
500: '#2a2fb0',
950: '#000000',
},
}SCSS
$custom: #2a2fb0; $custom-light: #7a69c9; $custom-dark: #000000;
JSON
{
"hex": "#2a2fb0",
"rgb": {
"r": 42,
"g": 47,
"b": 176
},
"hsl": {
"h": 237.761,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.40178,
"c": 0.19804,
"h": 271.6
},
"luminance": 0.0566
}Semantic roles & 50–950 ramp
primary
#2A2FB0
secondary
#C6C370
accent
#DF43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82