#2D298F#2D298F
#2D298F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.162 H 276.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2D298F |
|---|---|
| RGB | rgb(45, 41, 143) |
| HSL | hsl(242, 55%, 36%) |
| HSV | hsv(242, 71%, 56%) |
| CMYK | cmyk(68.5%, 71.3%, 0%, 43.9%) |
| CIE-LAB | lab(24.08, 35.11, -55.63) |
| CIE-LCH | lch(24.08, 65.78, 302.26°) |
| OKLab | oklab(36.04% 0.0177 -0.1607) |
| OKLCH | oklch(36.04% 0.162 276.3) |
| XYZ | xyz(6.8314, 4.1263, 26.4177) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.63
Sapphire (survey)
#2138AB
ΔE00 5.76
Midnight Blue
#191970
ΔE00 6.01
Indigo Blue
#3A18B1
ΔE00 6.22
Cobalt Blue
#030AA7
ΔE00 6.71
Darkslateblue
#483D8B
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D298F #8B8F29
analogous
#29588F #2D298F #60298F
triadic
#2D298F #8F2D29 #298F2D
tetradic
#2D298F #8F2958 #8B8F29 #298F60
square
#2D298F #8F2958 #8B8F29 #298F60
split-complementary
#2D298F #8F6029 #588F29
monochromatic
#0F0E30 #1E1B5F #2D298F #3C37BF #6561D2
Accessibility & contrast
On white
11.50
#2D298F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2D298F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D298F
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D298F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D298F | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2d298f; /* rgb */ color: rgb(45, 41, 143); /* oklch */ color: oklch(36.0% 0.162 276.3);
Tailwind
colors: {
custom: {
50: '#7464b1',
500: '#2d298f',
950: '#000000',
},
}SCSS
$custom: #2d298f; $custom-light: #7464b1; $custom-dark: #000000;
JSON
{
"hex": "#2d298f",
"rgb": {
"r": 45,
"g": 41,
"b": 143
},
"hsl": {
"h": 242.353,
"s": 55.435,
"l": 36.078
},
"oklch": {
"l": 0.36039,
"c": 0.16163,
"h": 276.3
},
"luminance": 0.04127
}Semantic roles & 50–950 ramp
primary
#2D298F
secondary
#B4B75C
accent
#DF49D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80