#2B199F#2B199F
#2B199F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.197 H 275.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2B199F |
|---|---|
| RGB | rgb(43, 25, 159) |
| HSL | hsl(248, 73%, 36%) |
| HSV | hsv(248, 84%, 62%) |
| CMYK | cmyk(73%, 84.3%, 0%, 37.6%) |
| CIE-LAB | lab(22.69, 48.63, -67.78) |
| CIE-LCH | lch(22.69, 83.42, 305.66°) |
| OKLab | oklab(35.54% 0.0194 -0.1959) |
| OKLCH | oklch(35.54% 0.197 275.6) |
| XYZ | xyz(7.5998, 3.7113, 33.1100) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.88
Royal
#0C1793
ΔE00 2.94
Indigo Blue
#3A18B1
ΔE00 2.99
Royal Blue (survey)
#0504AA
ΔE00 3.26
Ultramarine
#2000B1
ΔE00 3.33
Darkblue
#00008B
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B199F #8D9F19
analogous
#194A9F #2B199F #6E199F
triadic
#2B199F #9F2B19 #199F2B
tetradic
#2B199F #9F194A #8D9F19 #199F6E
square
#2B199F #9F194A #8D9F19 #199F6E
split-complementary
#2B199F #9F6E19 #4A9F19
monochromatic
#0E0835 #1D116A #2B199F #3921D4 #634FE3
Accessibility & contrast
On white
12.05
#2B199F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2B199F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B199F
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B199F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B199F | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b199f; /* rgb */ color: rgb(43, 25, 159); /* oklch */ color: oklch(35.5% 0.197 275.6);
Tailwind
colors: {
custom: {
50: '#785bbd',
500: '#2b199f',
950: '#000000',
},
}SCSS
$custom: #2b199f; $custom-light: #785bbd; $custom-dark: #000000;
JSON
{
"hex": "#2b199f",
"rgb": {
"r": 43,
"g": 25,
"b": 159
},
"hsl": {
"h": 248.06,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.35539,
"c": 0.19686,
"h": 275.6
},
"luminance": 0.03712
}Semantic roles & 50–950 ramp
primary
#2B199F
secondary
#B6C64E
accent
#F038D7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981