#2B229E#2B229E
#2B229E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.188 H 274.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2B229E |
|---|---|
| RGB | rgb(43, 34, 158) |
| HSL | hsl(244, 65%, 38%) |
| HSV | hsv(244, 78%, 62%) |
| CMYK | cmyk(72.8%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(24.08, 43.93, -64.87) |
| CIE-LCH | lch(24.08, 78.35, 304.11°) |
| OKLab | oklab(36.47% 0.0161 -0.1876) |
| OKLCH | oklch(36.47% 0.188 274.9) |
| XYZ | xyz(7.7378, 4.1255, 32.7296) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.46
Indigo Blue
#3A18B1
ΔE00 3.56
Cobalt Blue
#030AA7
ΔE00 4.27
Royal Blue (survey)
#0504AA
ΔE00 4.74
Ultramarine
#2000B1
ΔE00 4.83
True Blue
#010FCC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B229E #959E22
analogous
#22579E #2B229E #69229E
triadic
#2B229E #9E2B22 #229E2B
tetradic
#2B229E #9E2257 #959E22 #229E69
square
#2B229E #9E2257 #959E22 #229E69
split-complementary
#2B229E #9E6922 #579E22
monochromatic
#100C39 #1D176C #2B229E #392DD0 #675EDC
Accessibility & contrast
On white
11.51
#2B229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2B229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B229E
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B229E | 1.00 | 11.51 | 1.83 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b229e; /* rgb */ color: rgb(43, 34, 158); /* oklch */ color: oklch(36.5% 0.188 274.9);
Tailwind
colors: {
custom: {
50: '#7760bc',
500: '#2b229e',
950: '#000000',
},
}SCSS
$custom: #2b229e; $custom-light: #7760bc; $custom-dark: #000000;
JSON
{
"hex": "#2b229e",
"rgb": {
"r": 43,
"g": 34,
"b": 158
},
"hsl": {
"h": 244.355,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.3647,
"c": 0.18828,
"h": 274.9
},
"luminance": 0.04126
}Semantic roles & 50–950 ramp
primary
#2B229E
secondary
#BAC15B
accent
#E840DB
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981