#2B2385#2B2385
#2B2385 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.156 H 277.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2385 |
|---|---|
| RGB | rgb(43, 35, 133) |
| HSL | hsl(245, 58%, 33%) |
| HSV | hsv(245, 74%, 52%) |
| CMYK | cmyk(67.7%, 73.7%, 0%, 47.8%) |
| CIE-LAB | lab(21.61, 35.07, -53.46) |
| CIE-LCH | lch(21.61, 63.93, 303.26°) |
| OKLab | oklab(33.93% 0.021 -0.1544) |
| OKLCH | oklch(33.93% 0.156 277.7) |
| XYZ | xyz(5.8296, 3.4086, 22.5365) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.99
Midnight Blue
#191970
ΔE00 4.14
Indigo (survey)
#380282
ΔE00 6.16
Cobalt Blue
#030AA7
ΔE00 6.56
Darkblue
#00008B
ΔE00 6.74
Indigo Blue
#3A18B1
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2385 #7D8523
analogous
#234C85 #2B2385 #5C2385
triadic
#2B2385 #852B23 #23852B
tetradic
#2B2385 #85234C #7D8523 #23855C
square
#2B2385 #85234C #7D8523 #23855C
split-complementary
#2B2385 #855C23 #4C8523
monochromatic
#0C0924 #1B1655 #2B2385 #3B30B5 #5C51D1
Accessibility & contrast
On white
12.49
#2B2385 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2B2385 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2385
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2385 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2385 | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2b2385; /* rgb */ color: rgb(43, 35, 133); /* oklch */ color: oklch(33.9% 0.156 277.7);
Tailwind
colors: {
custom: {
50: '#715faa',
500: '#2b2385',
950: '#000000',
},
}SCSS
$custom: #2b2385; $custom-light: #715faa; $custom-dark: #000000;
JSON
{
"hex": "#2b2385",
"rgb": {
"r": 43,
"g": 35,
"b": 133
},
"hsl": {
"h": 244.898,
"s": 58.333,
"l": 32.941
},
"oklch": {
"l": 0.33927,
"c": 0.15578,
"h": 277.7
},
"luminance": 0.03409
}Semantic roles & 50–950 ramp
primary
#2B2385
secondary
#ADB54F
accent
#E246D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F