#2B299E#2B299E
#2B299E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.181 H 274.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2B299E |
|---|---|
| RGB | rgb(43, 41, 158) |
| HSL | hsl(241, 59%, 39%) |
| HSV | hsv(241, 74%, 62%) |
| CMYK | cmyk(72.8%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(25.46, 40.02, -62.58) |
| CIE-LCH | lch(25.46, 74.29, 302.60°) |
| OKLab | oklab(37.45% 0.0126 -0.181) |
| OKLCH | oklch(37.45% 0.181 274) |
| XYZ | xyz(7.9587, 4.5673, 32.8033) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.60
Royal
#0C1793
ΔE00 4.62
Sapphire (survey)
#2138AB
ΔE00 4.63
Cobalt Blue
#030AA7
ΔE00 5.74
Royal Blue (survey)
#0504AA
ΔE00 6.24
Ultramarine
#2000B1
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B299E #9C9E29
analogous
#29629E #2B299E #66299E
triadic
#2B299E #9E2B29 #299E2B
tetradic
#2B299E #9E2962 #9C9E29 #299E66
square
#2B299E #9E2962 #9C9E29 #299E66
split-complementary
#2B299E #9E6629 #629E29
monochromatic
#11103D #1E1C6D #2B299E #3B39CC #6B69D8
Accessibility & contrast
On white
10.97
#2B299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2B299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B299E
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B299E | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b299e; /* rgb */ color: rgb(43, 41, 158); /* oklch */ color: oklch(37.4% 0.181 274.0);
Tailwind
colors: {
custom: {
50: '#7764bc',
500: '#2b299e',
950: '#000000',
},
}SCSS
$custom: #2b299e; $custom-light: #7764bc; $custom-dark: #000000;
JSON
{
"hex": "#2b299e",
"rgb": {
"r": 43,
"g": 41,
"b": 158
},
"hsl": {
"h": 241.026,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.37447,
"c": 0.18145,
"h": 274
},
"luminance": 0.04568
}Semantic roles & 50–950 ramp
primary
#2B299E
secondary
#BDBF64
accent
#E246DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81