#2A299F#2A299F
#2A299F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.183 H 273.5°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A299F |
|---|---|
| RGB | rgb(42, 41, 159) |
| HSL | hsl(241, 59%, 39%) |
| HSV | hsv(241, 74%, 62%) |
| CMYK | cmyk(73.6%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(25.50, 40.26, -63.13) |
| CIE-LCH | lch(25.50, 74.87, 302.53°) |
| OKLab | oklab(37.49% 0.0112 -0.1826) |
| OKLCH | oklch(37.49% 0.183 273.5) |
| XYZ | xyz(8.0037, 4.5805, 33.2565) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Indigo Blue
#3A18B1
ΔE00 4.57
Royal
#0C1793
ΔE00 4.63
Cobalt Blue
#030AA7
ΔE00 5.70
Royal Blue (survey)
#0504AA
ΔE00 6.19
Ultramarine
#2000B1
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A299F #9E9F29
analogous
#29639F #2A299F #65299F
triadic
#2A299F #9F2A29 #299F2A
tetradic
#2A299F #9F2963 #9E9F29 #299F65
square
#2A299F #9F2963 #9E9F29 #299F65
split-complementary
#2A299F #9F6529 #639F29
monochromatic
#10103E #1D1C6E #2A299F #3A39CC #6B6AD9
Accessibility & contrast
On white
10.96
#2A299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2A299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A299F
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A299F | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a299f; /* rgb */ color: rgb(42, 41, 159); /* oklch */ color: oklch(37.5% 0.183 273.5);
Tailwind
colors: {
custom: {
50: '#7664bd',
500: '#2a299f',
950: '#000000',
},
}SCSS
$custom: #2a299f; $custom-light: #7664bd; $custom-dark: #000000;
JSON
{
"hex": "#2a299f",
"rgb": {
"r": 42,
"g": 41,
"b": 159
},
"hsl": {
"h": 240.508,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.3749,
"c": 0.18297,
"h": 273.5
},
"luminance": 0.04581
}Semantic roles & 50–950 ramp
primary
#2A299F
secondary
#BEBF65
accent
#E246E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81