#2B229F#2B229F
#2B229F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.189 H 274.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2B229F |
|---|---|
| RGB | rgb(43, 34, 159) |
| HSL | hsl(244, 65%, 38%) |
| HSV | hsv(244, 79%, 62%) |
| CMYK | cmyk(73%, 78.6%, 0%, 37.6%) |
| CIE-LAB | lab(24.19, 44.26, -65.29) |
| CIE-LCH | lch(24.19, 78.88, 304.13°) |
| OKLab | oklab(36.58% 0.0158 -0.1888) |
| OKLCH | oklch(36.58% 0.189 274.8) |
| XYZ | xyz(7.8242, 4.1601, 33.1848) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.45
Royal
#0C1793
ΔE00 3.54
Cobalt Blue
#030AA7
ΔE00 4.24
Royal Blue (survey)
#0504AA
ΔE00 4.70
Ultramarine
#2000B1
ΔE00 4.77
True Blue
#010FCC
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B229F #969F22
analogous
#22579F #2B229F #69229F
triadic
#2B229F #9F2B22 #229F2B
tetradic
#2B229F #9F2257 #969F22 #229F69
square
#2B229F #9F2257 #969F22 #229F69
split-complementary
#2B229F #9F6922 #579F22
monochromatic
#100C3A #1D176D #2B229F #392DD1 #685FDD
Accessibility & contrast
On white
11.46
#2B229F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2B229F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B229F
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B229F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B229F | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b229f; /* rgb */ color: rgb(43, 34, 159); /* oklch */ color: oklch(36.6% 0.189 274.8);
Tailwind
colors: {
custom: {
50: '#7760bd',
500: '#2b229f',
950: '#000000',
},
}SCSS
$custom: #2b229f; $custom-light: #7760bd; $custom-dark: #000000;
JSON
{
"hex": "#2b229f",
"rgb": {
"r": 43,
"g": 34,
"b": 159
},
"hsl": {
"h": 244.32,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.36581,
"c": 0.18949,
"h": 274.8
},
"luminance": 0.04161
}Semantic roles & 50–950 ramp
primary
#2B229F
secondary
#BAC15B
accent
#E840DC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981