#2B299F#2B299F
#2B299F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.183 H 273.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B299F |
|---|---|
| RGB | rgb(43, 41, 159) |
| HSL | hsl(241, 59%, 39%) |
| HSV | hsv(241, 74%, 62%) |
| CMYK | cmyk(73%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(25.57, 40.36, -63.02) |
| CIE-LCH | lch(25.57, 74.84, 302.63°) |
| OKLab | oklab(37.55% 0.0124 -0.1823) |
| OKLCH | oklch(37.55% 0.183 273.9) |
| XYZ | xyz(8.0451, 4.6019, 33.2584) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.51
Sapphire (survey)
#2138AB
ΔE00 4.59
Royal
#0C1793
ΔE00 4.67
Cobalt Blue
#030AA7
ΔE00 5.71
Royal Blue (survey)
#0504AA
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B299F #9D9F29
analogous
#29629F #2B299F #66299F
triadic
#2B299F #9F2B29 #299F2B
tetradic
#2B299F #9F2962 #9D9F29 #299F66
square
#2B299F #9F2962 #9D9F29 #299F66
split-complementary
#2B299F #9F6629 #629F29
monochromatic
#11103E #1E1C6E #2B299F #3C39CC #6C6AD9
Accessibility & contrast
On white
10.93
#2B299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2B299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B299F
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B299F | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2b299f; /* rgb */ color: rgb(43, 41, 159); /* oklch */ color: oklch(37.6% 0.183 273.9);
Tailwind
colors: {
custom: {
50: '#7764bd',
500: '#2b299f',
950: '#000000',
},
}SCSS
$custom: #2b299f; $custom-light: #7764bd; $custom-dark: #000000;
JSON
{
"hex": "#2b299f",
"rgb": {
"r": 43,
"g": 41,
"b": 159
},
"hsl": {
"h": 241.017,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.37552,
"c": 0.18271,
"h": 273.9
},
"luminance": 0.04603
}Semantic roles & 50–950 ramp
primary
#2B299F
secondary
#BDBF65
accent
#E246E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81