#2D2088#2D2088
#2D2088 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.162 H 278.9°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2088 |
|---|---|
| RGB | rgb(45, 32, 136) |
| HSL | hsl(248, 62%, 33%) |
| HSV | hsv(248, 76%, 53%) |
| CMYK | cmyk(66.9%, 76.5%, 0%, 46.7%) |
| CIE-LAB | lab(21.46, 38.07, -55.58) |
| CIE-LCH | lch(21.46, 67.37, 304.41°) |
| OKLab | oklab(33.96% 0.0252 -0.1605) |
| OKLCH | oklch(33.96% 0.162 278.9) |
| XYZ | xyz(6.0412, 3.3680, 23.6195) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.42
Midnight Blue
#191970
ΔE00 4.43
Indigo (survey)
#380282
ΔE00 5.27
Cobalt Blue
#030AA7
ΔE00 5.77
Darkblue
#00008B
ΔE00 6.02
Indigo Blue
#3A18B1
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2088 #7B8820
analogous
#204788 #2D2088 #612088
triadic
#2D2088 #882D20 #20882D
tetradic
#2D2088 #882047 #7B8820 #208861
square
#2D2088 #882047 #7B8820 #208861
split-complementary
#2D2088 #886120 #478820
monochromatic
#0C0925 #1D1456 #2D2088 #3D2CBA #5E4DD5
Accessibility & contrast
On white
12.55
#2D2088 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2D2088 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2088
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2088 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2088 | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2d2088; /* rgb */ color: rgb(45, 32, 136); /* oklch */ color: oklch(34.0% 0.162 278.9);
Tailwind
colors: {
custom: {
50: '#735eac',
500: '#2d2088',
950: '#000000',
},
}SCSS
$custom: #2d2088; $custom-light: #735eac; $custom-dark: #000000;
JSON
{
"hex": "#2d2088",
"rgb": {
"r": 45,
"g": 32,
"b": 136
},
"hsl": {
"h": 247.5,
"s": 61.905,
"l": 32.941
},
"oklch": {
"l": 0.33956,
"c": 0.16245,
"h": 278.9
},
"luminance": 0.03368
}Semantic roles & 50–950 ramp
primary
#2D2088
secondary
#ABB84C
accent
#E543D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F