#2B2D9A#2B2D9A
#2B2D9A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.172 H 273.6°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2D9A |
|---|---|
| RGB | rgb(43, 45, 154) |
| HSL | hsl(239, 56%, 39%) |
| HSV | hsv(239, 72%, 60%) |
| CMYK | cmyk(72.1%, 70.8%, 0%, 39.6%) |
| CIE-LAB | lab(25.93, 36.23, -59.38) |
| CIE-LCH | lch(25.93, 69.56, 301.39°) |
| OKLab | oklab(37.66% 0.0109 -0.1717) |
| OKLCH | oklch(37.66% 0.172 273.6) |
| XYZ | xyz(7.7654, 4.7227, 31.0679) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Royal
#0C1793
ΔE00 5.40
Indigo Blue
#3A18B1
ΔE00 5.81
Blueberry
#464196
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.68
Cobalt Blue
#030AA7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2D9A #9A982B
analogous
#2B649A #2B2D9A #602B9A
triadic
#2B2D9A #9A2B2D #2D9A2B
tetradic
#2B2D9A #9A2B64 #9A982B #2B9A60
square
#2B2D9A #9A2B64 #9A982B #2B9A60
split-complementary
#2B2D9A #9A602B #649A2B
monochromatic
#10113A #1E1F6A #2B2D9A #3A3DC8 #6A6CD5
Accessibility & contrast
On white
10.80
#2B2D9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2B2D9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2D9A
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2D9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2D9A | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2b2d9a; /* rgb */ color: rgb(43, 45, 154); /* oklch */ color: oklch(37.7% 0.172 273.6);
Tailwind
colors: {
custom: {
50: '#7567b9',
500: '#2b2d9a',
950: '#000000',
},
}SCSS
$custom: #2b2d9a; $custom-light: #7567b9; $custom-dark: #000000;
JSON
{
"hex": "#2b2d9a",
"rgb": {
"r": 43,
"g": 45,
"b": 154
},
"hsl": {
"h": 238.919,
"s": 56.345,
"l": 38.627
},
"oklch": {
"l": 0.37658,
"c": 0.17201,
"h": 273.6
},
"luminance": 0.04723
}Semantic roles & 50–950 ramp
primary
#2B2D9A
secondary
#BCBA65
accent
#DD48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81