#2A299E#2A299E
#2A299E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.182 H 273.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2A299E |
|---|---|
| RGB | rgb(42, 41, 158) |
| HSL | hsl(241, 59%, 39%) |
| HSV | hsv(241, 74%, 62%) |
| CMYK | cmyk(73.4%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(25.40, 39.92, -62.69) |
| CIE-LCH | lch(25.40, 74.32, 302.49°) |
| OKLab | oklab(37.38% 0.0114 -0.1813) |
| OKLCH | oklch(37.38% 0.182 273.6) |
| XYZ | xyz(7.9173, 4.5459, 32.8013) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.59
Sapphire (survey)
#2138AB
ΔE00 4.59
Indigo Blue
#3A18B1
ΔE00 4.66
Cobalt Blue
#030AA7
ΔE00 5.73
Royal Blue (survey)
#0504AA
ΔE00 6.23
Ultramarine
#2000B1
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A299E #9D9E29
analogous
#29639E #2A299E #65299E
triadic
#2A299E #9E2A29 #299E2A
tetradic
#2A299E #9E2963 #9D9E29 #299E65
square
#2A299E #9E2963 #9D9E29 #299E65
split-complementary
#2A299E #9E6529 #639E29
monochromatic
#10103D #1D1C6D #2A299E #3A39CC #6A69D8
Accessibility & contrast
On white
11.00
#2A299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2A299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A299E
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A299E | 1.00 | 11.00 | 1.91 | 11.00 |
| #FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a299e; /* rgb */ color: rgb(42, 41, 158); /* oklch */ color: oklch(37.4% 0.182 273.6);
Tailwind
colors: {
custom: {
50: '#7664bc',
500: '#2a299e',
950: '#000000',
},
}SCSS
$custom: #2a299e; $custom-light: #7664bc; $custom-dark: #000000;
JSON
{
"hex": "#2a299e",
"rgb": {
"r": 42,
"g": 41,
"b": 158
},
"hsl": {
"h": 240.513,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.37384,
"c": 0.1817,
"h": 273.6
},
"luminance": 0.04547
}Semantic roles & 50–950 ramp
primary
#2A299E
secondary
#BEBF64
accent
#E246E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81