#2B2285#2B2285
#2B2285 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.157 H 277.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2285 |
|---|---|
| RGB | rgb(43, 34, 133) |
| HSL | hsl(245, 59%, 33%) |
| HSV | hsv(245, 74%, 52%) |
| CMYK | cmyk(67.7%, 74.4%, 0%, 47.8%) |
| CIE-LAB | lab(21.40, 35.66, -53.81) |
| CIE-LCH | lch(21.40, 64.56, 303.53°) |
| OKLab | oklab(33.77% 0.0217 -0.1554) |
| OKLCH | oklch(33.77% 0.157 277.9) |
| XYZ | xyz(5.8006, 3.3506, 22.5268) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.83
Midnight Blue
#191970
ΔE00 4.05
Indigo (survey)
#380282
ΔE00 5.91
Cobalt Blue
#030AA7
ΔE00 6.39
Darkblue
#00008B
ΔE00 6.50
Navy
#000080
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2285 #7C8522
analogous
#224A85 #2B2285 #5D2285
triadic
#2B2285 #852B22 #22852B
tetradic
#2B2285 #85224A #7C8522 #22855D
square
#2B2285 #85224A #7C8522 #22855D
split-complementary
#2B2285 #855D22 #4A8522
monochromatic
#0B0924 #1B1654 #2B2285 #3B2EB6 #5B4FD2
Accessibility & contrast
On white
12.57
#2B2285 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2B2285 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2285
12.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2285 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2285 | 1.00 | 12.57 | 1.67 | 12.57 |
| #FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b2285; /* rgb */ color: rgb(43, 34, 133); /* oklch */ color: oklch(33.8% 0.157 277.9);
Tailwind
colors: {
custom: {
50: '#715faa',
500: '#2b2285',
950: '#000000',
},
}SCSS
$custom: #2b2285; $custom-light: #715faa; $custom-dark: #000000;
JSON
{
"hex": "#2b2285",
"rgb": {
"r": 43,
"g": 34,
"b": 133
},
"hsl": {
"h": 245.455,
"s": 59.281,
"l": 32.745
},
"oklch": {
"l": 0.33774,
"c": 0.15688,
"h": 277.9
},
"luminance": 0.03351
}Semantic roles & 50–950 ramp
primary
#2B2285
secondary
#ACB64D
accent
#E245D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F