#2B2BA9#2B2BA9
#2B2BA9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.193 H 272.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2BA9 |
|---|---|
| RGB | rgb(43, 43, 169) |
| HSL | hsl(240, 59%, 42%) |
| HSV | hsv(240, 75%, 66%) |
| CMYK | cmyk(74.6%, 74.6%, 0%, 33.7%) |
| CIE-LAB | lab(27.03, 42.58, -66.67) |
| CIE-LCH | lch(27.03, 79.10, 302.56°) |
| OKLab | oklab(38.91% 0.0096 -0.1929) |
| OKLCH | oklch(38.91% 0.193 272.8) |
| XYZ | xyz(9.0192, 5.1050, 38.0385) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.89
Indigo Blue
#3A18B1
ΔE00 4.20
Royal
#0C1793
ΔE00 5.68
True Blue
#010FCC
ΔE00 5.80
Cobalt Blue
#030AA7
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2BA9 #A9A92B
analogous
#2B6AA9 #2B2BA9 #6A2BA9
triadic
#2B2BA9 #A92B2B #2BA92B
tetradic
#2B2BA9 #A92B6A #A9A92B #2BA96A
square
#2B2BA9 #A92B6A #A9A92B #2BA96A
split-complementary
#2B2BA9 #A96A2B #6AA92B
monochromatic
#121247 #1F1F78 #2B2BA9 #4242CF #7373DB
Accessibility & contrast
On white
10.39
#2B2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2B2BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2BA9
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2BA9 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b2ba9; /* rgb */ color: rgb(43, 43, 169); /* oklch */ color: oklch(38.9% 0.193 272.8);
Tailwind
colors: {
custom: {
50: '#7966c4',
500: '#2b2ba9',
950: '#000000',
},
}SCSS
$custom: #2b2ba9; $custom-light: #7966c4; $custom-dark: #000000;
JSON
{
"hex": "#2b2ba9",
"rgb": {
"r": 43,
"g": 43,
"b": 169
},
"hsl": {
"h": 240,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.38905,
"c": 0.19315,
"h": 272.8
},
"luminance": 0.05106
}Semantic roles & 50–950 ramp
primary
#2B2BA9
secondary
#C3C36D
accent
#E345E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82