#2B199E#2B199E
#2B199E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.196 H 275.8°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B199E |
|---|---|
| RGB | rgb(43, 25, 158) |
| HSL | hsl(248, 73%, 36%) |
| HSV | hsv(248, 84%, 62%) |
| CMYK | cmyk(72.8%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(22.57, 48.33, -67.37) |
| CIE-LCH | lch(22.57, 82.91, 305.65°) |
| OKLab | oklab(35.42% 0.0197 -0.1947) |
| OKLCH | oklch(35.42% 0.196 275.8) |
| XYZ | xyz(7.5134, 3.6767, 32.6548) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.85
Cobalt Blue
#030AA7
ΔE00 2.91
Indigo Blue
#3A18B1
ΔE00 3.11
Royal Blue (survey)
#0504AA
ΔE00 3.30
Ultramarine
#2000B1
ΔE00 3.42
Darkblue
#00008B
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B199E #8C9E19
analogous
#19499E #2B199E #6D199E
triadic
#2B199E #9E2B19 #199E2B
tetradic
#2B199E #9E1949 #8C9E19 #199E6D
square
#2B199E #9E1949 #8C9E19 #199E6D
split-complementary
#2B199E #9E6D19 #499E19
monochromatic
#0E0834 #1D1169 #2B199E #3921D3 #624EE3
Accessibility & contrast
On white
12.10
#2B199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2B199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B199E
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B199E | 1.00 | 12.10 | 1.74 | 12.10 |
| #FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b199e; /* rgb */ color: rgb(43, 25, 158); /* oklch */ color: oklch(35.4% 0.196 275.8);
Tailwind
colors: {
custom: {
50: '#785bbc',
500: '#2b199e',
950: '#000000',
},
}SCSS
$custom: #2b199e; $custom-light: #785bbc; $custom-dark: #000000;
JSON
{
"hex": "#2b199e",
"rgb": {
"r": 43,
"g": 25,
"b": 158
},
"hsl": {
"h": 248.12,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.35421,
"c": 0.19571,
"h": 275.8
},
"luminance": 0.03677
}Semantic roles & 50–950 ramp
primary
#2B199E
secondary
#B5C54E
accent
#EF38D7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981