#2B19A0#2B19A0
#2B19A0 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.7% C 0.198 H 275.5°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2B19A0 |
|---|---|
| RGB | rgb(43, 25, 160) |
| HSL | hsl(248, 73%, 36%) |
| HSV | hsv(248, 84%, 63%) |
| CMYK | cmyk(73.1%, 84.4%, 0%, 37.3%) |
| CIE-LAB | lab(22.81, 48.93, -68.19) |
| CIE-LCH | lch(22.81, 83.93, 305.66°) |
| OKLab | oklab(35.66% 0.019 -0.1971) |
| OKLCH | oklch(35.66% 0.198 275.5) |
| XYZ | xyz(7.6870, 3.7462, 33.5689) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.85
Indigo Blue
#3A18B1
ΔE00 2.88
Royal
#0C1793
ΔE00 3.03
Royal Blue (survey)
#0504AA
ΔE00 3.22
Ultramarine
#2000B1
ΔE00 3.25
True Blue
#010FCC
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B19A0 #8EA019
analogous
#194BA0 #2B19A0 #6F19A0
triadic
#2B19A0 #A02B19 #19A02B
tetradic
#2B19A0 #A0194B #8EA019 #19A06F
square
#2B19A0 #A0194B #8EA019 #19A06F
split-complementary
#2B19A0 #A06F19 #4BA019
monochromatic
#0F0836 #1D116B #2B19A0 #3921D5 #6350E4
Accessibility & contrast
On white
12.00
#2B19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2B19A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B19A0
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B19A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B19A0 | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#00309E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b19a0; /* rgb */ color: rgb(43, 25, 160); /* oklch */ color: oklch(35.7% 0.198 275.5);
Tailwind
colors: {
custom: {
50: '#785bbe',
500: '#2b19a0',
950: '#000000',
},
}SCSS
$custom: #2b19a0; $custom-light: #785bbe; $custom-dark: #000000;
JSON
{
"hex": "#2b19a0",
"rgb": {
"r": 43,
"g": 25,
"b": 160
},
"hsl": {
"h": 248,
"s": 72.973,
"l": 36.275
},
"oklch": {
"l": 0.35657,
"c": 0.19802,
"h": 275.5
},
"luminance": 0.03747
}Semantic roles & 50–950 ramp
primary
#2B19A0
secondary
#B6C64F
accent
#F038D7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981