#2B149F#2B149F
#2B149F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 35.1% C 0.200 H 276.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2B149F |
|---|---|
| RGB | rgb(43, 20, 159) |
| HSL | hsl(250, 78%, 35%) |
| HSV | hsv(250, 87%, 62%) |
| CMYK | cmyk(73%, 87.4%, 0%, 37.6%) |
| CIE-LAB | lab(22.00, 50.67, -68.92) |
| CIE-LCH | lch(22.00, 85.55, 306.32°) |
| OKLab | oklab(35.07% 0.0209 -0.1991) |
| OKLCH | oklch(35.07% 0.2 276) |
| XYZ | xyz(7.5024, 3.5164, 33.0775) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.43
Royal Blue (survey)
#0504AA
ΔE00 2.73
Ultramarine
#2000B1
ΔE00 2.81
Royal
#0C1793
ΔE00 2.98
Indigo Blue
#3A18B1
ΔE00 3.12
Darkblue
#00008B
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B149F #889F14
analogous
#14429F #2B149F #70149F
triadic
#2B149F #9F2B14 #149F2B
tetradic
#2B149F #9F1442 #889F14 #149F70
square
#2B149F #9F1442 #889F14 #149F70
split-complementary
#2B149F #9F7014 #429F14
monochromatic
#0E0632 #1C0D69 #2B149F #3A1BD5 #6146E8
Accessibility & contrast
On white
12.33
#2B149F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2B149F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B149F
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B149F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B149F | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2b149f; /* rgb */ color: rgb(43, 20, 159); /* oklch */ color: oklch(35.1% 0.200 276.0);
Tailwind
colors: {
custom: {
50: '#7959bd',
500: '#2b149f',
950: '#000000',
},
}SCSS
$custom: #2b149f; $custom-light: #7959bd; $custom-dark: #000000;
JSON
{
"hex": "#2b149f",
"rgb": {
"r": 43,
"g": 20,
"b": 159
},
"hsl": {
"h": 249.928,
"s": 77.654,
"l": 35.098
},
"oklch": {
"l": 0.35067,
"c": 0.20022,
"h": 276
},
"luminance": 0.03517
}Semantic roles & 50–950 ramp
primary
#2B149F
secondary
#B3C846
accent
#F434D4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981