#2B2BA5#2B2BA5
#2B2BA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.188 H 273.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2BA5 |
|---|---|
| RGB | rgb(43, 43, 165) |
| HSL | hsl(240, 59%, 41%) |
| HSV | hsv(240, 74%, 65%) |
| CMYK | cmyk(73.9%, 73.9%, 0%, 35.3%) |
| CIE-LAB | lab(26.61, 41.22, -64.94) |
| CIE-LCH | lch(26.61, 76.92, 302.41°) |
| OKLab | oklab(38.48% 0.0103 -0.1879) |
| OKLCH | oklch(38.48% 0.188 273.1) |
| XYZ | xyz(8.6494, 4.9571, 36.0910) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Indigo Blue
#3A18B1
ΔE00 4.43
Royal
#0C1793
ΔE00 5.40
Cobalt Blue
#030AA7
ΔE00 6.08
True Blue
#010FCC
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2BA5 #A5A52B
analogous
#2B68A5 #2B2BA5 #682BA5
triadic
#2B2BA5 #A52B2B #2BA52B
tetradic
#2B2BA5 #A52B68 #A5A52B #2BA568
square
#2B2BA5 #A52B68 #A5A52B #2BA568
split-complementary
#2B2BA5 #A5682B #68A52B
monochromatic
#121244 #1E1E74 #2B2BA5 #4040CD #7171DA
Accessibility & contrast
On white
10.54
#2B2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2B2BA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2BA5
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2BA5 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b2ba5; /* rgb */ color: rgb(43, 43, 165); /* oklch */ color: oklch(38.5% 0.188 273.1);
Tailwind
colors: {
custom: {
50: '#7866c1',
500: '#2b2ba5',
950: '#000000',
},
}SCSS
$custom: #2b2ba5; $custom-light: #7866c1; $custom-dark: #000000;
JSON
{
"hex": "#2b2ba5",
"rgb": {
"r": 43,
"g": 43,
"b": 165
},
"hsl": {
"h": 240,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.38482,
"c": 0.18818,
"h": 273.1
},
"luminance": 0.04958
}Semantic roles & 50–950 ramp
primary
#2B2BA5
secondary
#C1C16B
accent
#E246E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81