#2B2185#2B2185
#2B2185 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.158 H 278.1°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2185 |
|---|---|
| RGB | rgb(43, 33, 133) |
| HSL | hsl(246, 60%, 33%) |
| HSV | hsv(246, 75%, 52%) |
| CMYK | cmyk(67.7%, 75.2%, 0%, 47.8%) |
| CIE-LAB | lab(21.19, 36.25, -54.16) |
| CIE-LCH | lch(21.19, 65.17, 303.80°) |
| OKLab | oklab(33.62% 0.0223 -0.1564) |
| OKLCH | oklch(33.62% 0.158 278.1) |
| XYZ | xyz(5.7724, 3.2943, 22.5174) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.68
Midnight Blue
#191970
ΔE00 3.99
Indigo (survey)
#380282
ΔE00 5.66
Cobalt Blue
#030AA7
ΔE00 6.23
Darkblue
#00008B
ΔE00 6.28
Navy
#000080
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2185 #7B8521
analogous
#214985 #2B2185 #5D2185
triadic
#2B2185 #852B21 #21852B
tetradic
#2B2185 #852149 #7B8521 #21855D
square
#2B2185 #852149 #7B8521 #21855D
split-complementary
#2B2185 #855D21 #498521
monochromatic
#0B0923 #1B1554 #2B2185 #3B2DB6 #5B4DD3
Accessibility & contrast
On white
12.66
#2B2185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2B2185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2185
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2185 | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b2185; /* rgb */ color: rgb(43, 33, 133); /* oklch */ color: oklch(33.6% 0.158 278.1);
Tailwind
colors: {
custom: {
50: '#725eaa',
500: '#2b2185',
950: '#000000',
},
}SCSS
$custom: #2b2185; $custom-light: #725eaa; $custom-dark: #000000;
JSON
{
"hex": "#2b2185",
"rgb": {
"r": 43,
"g": 33,
"b": 133
},
"hsl": {
"h": 246,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.33624,
"c": 0.15798,
"h": 278.1
},
"luminance": 0.03295
}Semantic roles & 50–950 ramp
primary
#2B2185
secondary
#ABB64C
accent
#E344D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F