#2A298D#2A298D
#2A298D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.160 H 275.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A298D |
|---|---|
| RGB | rgb(42, 41, 141) |
| HSL | hsl(241, 55%, 36%) |
| HSV | hsv(241, 71%, 55%) |
| CMYK | cmyk(70.2%, 70.9%, 0%, 44.7%) |
| CIE-LAB | lab(23.67, 34.03, -55.07) |
| CIE-LCH | lch(23.67, 64.74, 301.71°) |
| OKLab | oklab(35.63% 0.0141 -0.1591) |
| OKLCH | oklch(35.63% 0.16 275.1) |
| XYZ | xyz(6.5539, 4.0006, 25.6209) |
| Luminance | 0.0400 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.62
Midnight Blue
#191970
ΔE00 5.71
Sapphire (survey)
#2138AB
ΔE00 5.83
Indigo Blue
#3A18B1
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 6.86
Cobalt Blue
#030AA7
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A298D #8C8D29
analogous
#295A8D #2A298D #5C298D
triadic
#2A298D #8D2A29 #298D2A
tetradic
#2A298D #8D295A #8C8D29 #298D5C
square
#2A298D #8D295A #8C8D29 #298D5C
split-complementary
#2A298D #8D5C29 #5A8D29
monochromatic
#0E0D2E #1C1B5E #2A298D #3837BC #6160D1
Accessibility & contrast
On white
11.67
#2A298D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2A298D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A298D
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A298D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A298D | 1.00 | 11.67 | 1.80 | 11.67 |
| #FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2a298d; /* rgb */ color: rgb(42, 41, 141); /* oklch */ color: oklch(35.6% 0.160 275.1);
Tailwind
colors: {
custom: {
50: '#7263af',
500: '#2a298d',
950: '#000000',
},
}SCSS
$custom: #2a298d; $custom-light: #7263af; $custom-dark: #000000;
JSON
{
"hex": "#2a298d",
"rgb": {
"r": 42,
"g": 41,
"b": 141
},
"hsl": {
"h": 240.6,
"s": 54.945,
"l": 35.686
},
"oklch": {
"l": 0.35628,
"c": 0.15974,
"h": 275.1
},
"luminance": 0.04001
}Semantic roles & 50–950 ramp
primary
#2A298D
secondary
#B5B65B
accent
#DE4ADD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F