#2B209E#2B209E
#2B209E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.190 H 275.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2B209E |
|---|---|
| RGB | rgb(43, 32, 158) |
| HSL | hsl(245, 66%, 37%) |
| HSV | hsv(245, 80%, 62%) |
| CMYK | cmyk(72.8%, 79.7%, 0%, 38%) |
| CIE-LAB | lab(23.72, 44.98, -65.47) |
| CIE-LCH | lch(23.72, 79.43, 304.49°) |
| OKLab | oklab(36.22% 0.0169 -0.1893) |
| OKLCH | oklch(36.22% 0.19 275.1) |
| XYZ | xyz(7.6823, 4.0145, 32.7111) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.24
Indigo Blue
#3A18B1
ΔE00 3.37
Cobalt Blue
#030AA7
ΔE00 3.91
Royal Blue (survey)
#0504AA
ΔE00 4.37
Ultramarine
#2000B1
ΔE00 4.47
True Blue
#010FCC
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B209E #939E20
analogous
#20549E #2B209E #6A209E
triadic
#2B209E #9E2B20 #209E2B
tetradic
#2B209E #9E2054 #939E20 #209E6A
square
#2B209E #9E2054 #939E20 #209E6A
split-complementary
#2B209E #9E6A20 #549E20
monochromatic
#0F0B38 #1D166B #2B209E #392AD1 #665BDE
Accessibility & contrast
On white
11.65
#2B209E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2B209E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B209E
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B209E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B209E | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2b209e; /* rgb */ color: rgb(43, 32, 158); /* oklch */ color: oklch(36.2% 0.190 275.1);
Tailwind
colors: {
custom: {
50: '#775fbc',
500: '#2b209e',
950: '#000000',
},
}SCSS
$custom: #2b209e; $custom-light: #775fbc; $custom-dark: #000000;
JSON
{
"hex": "#2b209e",
"rgb": {
"r": 43,
"g": 32,
"b": 158
},
"hsl": {
"h": 245.238,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.36216,
"c": 0.19007,
"h": 275.1
},
"luminance": 0.04015
}Semantic roles & 50–950 ramp
primary
#2B209E
secondary
#B9C258
accent
#E93FDA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981