#2D2389#2D2389
#2D2389 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.161 H 278.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2389 |
|---|---|
| RGB | rgb(45, 35, 137) |
| HSL | hsl(246, 59%, 34%) |
| HSV | hsv(246, 74%, 54%) |
| CMYK | cmyk(67.2%, 74.5%, 0%, 46.3%) |
| CIE-LAB | lab(22.18, 36.67, -55.03) |
| CIE-LCH | lch(22.18, 66.13, 303.68°) |
| OKLab | oklab(34.5% 0.023 -0.1589) |
| OKLCH | oklch(34.5% 0.161 278.2) |
| XYZ | xyz(6.1971, 3.5656, 24.0237) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.77
Midnight Blue
#191970
ΔE00 4.71
Indigo (survey)
#380282
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.13
Indigo Blue
#3A18B1
ΔE00 6.27
Darkblue
#00008B
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2389 #7F8923
analogous
#234C89 #2D2389 #602389
triadic
#2D2389 #892D23 #23892D
tetradic
#2D2389 #89234C #7F8923 #238960
square
#2D2389 #89234C #7F8923 #238960
split-complementary
#2D2389 #896023 #4C8923
monochromatic
#0D0A28 #1D1758 #2D2389 #3D2FBA #6053D3
Accessibility & contrast
On white
12.26
#2D2389 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2D2389 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2389
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2389 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2389 | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2d2389; /* rgb */ color: rgb(45, 35, 137); /* oklch */ color: oklch(34.5% 0.161 278.2);
Tailwind
colors: {
custom: {
50: '#735fac',
500: '#2d2389',
950: '#000000',
},
}SCSS
$custom: #2d2389; $custom-light: #735fac; $custom-dark: #000000;
JSON
{
"hex": "#2d2389",
"rgb": {
"r": 45,
"g": 35,
"b": 137
},
"hsl": {
"h": 245.882,
"s": 59.302,
"l": 33.725
},
"oklch": {
"l": 0.34496,
"c": 0.16052,
"h": 278.2
},
"luminance": 0.03566
}Semantic roles & 50–950 ramp
primary
#2D2389
secondary
#ADB751
accent
#E245D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F