#2D2188#2D2188
#2D2188 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.161 H 278.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2188 |
|---|---|
| RGB | rgb(45, 33, 136) |
| HSL | hsl(247, 61%, 33%) |
| HSV | hsv(247, 76%, 53%) |
| CMYK | cmyk(66.9%, 75.7%, 0%, 46.7%) |
| CIE-LAB | lab(21.66, 37.50, -55.25) |
| CIE-LCH | lch(21.66, 66.78, 304.17°) |
| OKLab | oklab(34.1% 0.0245 -0.1595) |
| OKLCH | oklch(34.1% 0.161 278.7) |
| XYZ | xyz(6.0686, 3.4227, 23.6286) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.54
Midnight Blue
#191970
ΔE00 4.47
Indigo (survey)
#380282
ΔE00 5.51
Cobalt Blue
#030AA7
ΔE00 5.92
Darkblue
#00008B
ΔE00 6.24
Indigo Blue
#3A18B1
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2188 #7C8821
analogous
#214888 #2D2188 #602188
triadic
#2D2188 #882D21 #21882D
tetradic
#2D2188 #882148 #7C8821 #218860
square
#2D2188 #882148 #7C8821 #218860
split-complementary
#2D2188 #886021 #488821
monochromatic
#0C0925 #1D1557 #2D2188 #3D2DB9 #5F4FD4
Accessibility & contrast
On white
12.47
#2D2188 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2D2188 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2188
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2188 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2188 | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2d2188; /* rgb */ color: rgb(45, 33, 136); /* oklch */ color: oklch(34.1% 0.161 278.7);
Tailwind
colors: {
custom: {
50: '#735eac',
500: '#2d2188',
950: '#000000',
},
}SCSS
$custom: #2d2188; $custom-light: #735eac; $custom-dark: #000000;
JSON
{
"hex": "#2d2188",
"rgb": {
"r": 45,
"g": 33,
"b": 136
},
"hsl": {
"h": 246.99,
"s": 60.947,
"l": 33.137
},
"oklch": {
"l": 0.34098,
"c": 0.1614,
"h": 278.7
},
"luminance": 0.03423
}Semantic roles & 50–950 ramp
primary
#2D2188
secondary
#ABB84D
accent
#E444D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F