#2A2FA9#2A2FA9
#2A2FA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.189 H 272.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2FA9 |
|---|---|
| RGB | rgb(42, 47, 169) |
| HSL | hsl(238, 60%, 41%) |
| HSV | hsv(238, 75%, 66%) |
| CMYK | cmyk(75.1%, 72.2%, 0%, 33.7%) |
| CIE-LAB | lab(27.82, 40.13, -65.38) |
| CIE-LCH | lch(27.82, 76.71, 301.55°) |
| OKLab | oklab(39.45% 0.0065 -0.1892) |
| OKLCH | oklch(39.45% 0.189 272) |
| XYZ | xyz(9.1304, 5.3889, 38.0874) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Indigo Blue
#3A18B1
ΔE00 5.18
Royal
#0C1793
ΔE00 6.43
Blue Blue
#2242C7
ΔE00 6.49
True Blue
#010FCC
ΔE00 6.54
Ocean Blue
#4F42B5
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2FA9 #A9A42A
analogous
#2A6FA9 #2A2FA9 #652AA9
triadic
#2A2FA9 #A92A2F #2FA92A
tetradic
#2A2FA9 #A92A6F #A9A42A #2AA965
square
#2A2FA9 #A92A6F #A9A42A #2AA965
split-complementary
#2A2FA9 #A9652A #6FA92A
monochromatic
#121447 #1E2178 #2A2FA9 #4146D0 #7276DC
Accessibility & contrast
On white
10.11
#2A2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2A2FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2FA9
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2FA9 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a2fa9; /* rgb */ color: rgb(42, 47, 169); /* oklch */ color: oklch(39.4% 0.189 272.0);
Tailwind
colors: {
custom: {
50: '#7868c4',
500: '#2a2fa9',
950: '#000000',
},
}SCSS
$custom: #2a2fa9; $custom-light: #7868c4; $custom-dark: #000000;
JSON
{
"hex": "#2a2fa9",
"rgb": {
"r": 42,
"g": 47,
"b": 169
},
"hsl": {
"h": 237.638,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.39449,
"c": 0.18931,
"h": 272
},
"luminance": 0.0539
}Semantic roles & 50–950 ramp
primary
#2A2FA9
secondary
#C3C06C
accent
#DD44E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82