#2A298E#2A298E
#2A298E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.161 H 275.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2A298E |
|---|---|
| RGB | rgb(42, 41, 142) |
| HSL | hsl(241, 55%, 36%) |
| HSV | hsv(241, 71%, 56%) |
| CMYK | cmyk(70.4%, 71.1%, 0%, 44.3%) |
| CIE-LAB | lab(23.77, 34.38, -55.53) |
| CIE-LCH | lch(23.77, 65.31, 301.76°) |
| OKLab | oklab(35.73% 0.014 -0.1604) |
| OKLCH | oklch(35.73% 0.161 275) |
| XYZ | xyz(6.6287, 4.0305, 26.0146) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.57
Sapphire (survey)
#2138AB
ΔE00 5.74
Midnight Blue
#191970
ΔE00 5.82
Indigo Blue
#3A18B1
ΔE00 6.51
Cobalt Blue
#030AA7
ΔE00 6.77
Darkslateblue
#483D8B
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A298E #8D8E29
analogous
#295A8E #2A298E #5C298E
triadic
#2A298E #8E2A29 #298E2A
tetradic
#2A298E #8E295A #8D8E29 #298E5C
square
#2A298E #8E295A #8D8E29 #298E5C
split-complementary
#2A298E #8E5C29 #5A8E29
monochromatic
#0E0E2F #1C1B5F #2A298E #3837BD #6160D1
Accessibility & contrast
On white
11.63
#2A298E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2A298E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A298E
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A298E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A298E | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2a298e; /* rgb */ color: rgb(42, 41, 142); /* oklch */ color: oklch(35.7% 0.161 275.0);
Tailwind
colors: {
custom: {
50: '#7263b0',
500: '#2a298e',
950: '#000000',
},
}SCSS
$custom: #2a298e; $custom-light: #7263b0; $custom-dark: #000000;
JSON
{
"hex": "#2a298e",
"rgb": {
"r": 42,
"g": 41,
"b": 142
},
"hsl": {
"h": 240.594,
"s": 55.191,
"l": 35.882
},
"oklch": {
"l": 0.35729,
"c": 0.16106,
"h": 275
},
"luminance": 0.04031
}Semantic roles & 50–950 ramp
primary
#2A298E
secondary
#B6B75C
accent
#DF49DD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80