#2B2BA0#2B2BA0
#2B2BA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.182 H 273.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2BA0 |
|---|---|
| RGB | rgb(43, 43, 160) |
| HSL | hsl(240, 58%, 40%) |
| HSV | hsv(240, 73%, 63%) |
| CMYK | cmyk(73.1%, 73.1%, 0%, 37.3%) |
| CIE-LAB | lab(26.09, 39.52, -62.76) |
| CIE-LCH | lch(26.09, 74.17, 302.20°) |
| OKLab | oklab(37.96% 0.0112 -0.1815) |
| OKLCH | oklch(37.96% 0.182 273.5) |
| XYZ | xyz(8.2032, 4.7786, 33.7409) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 4.82
Royal
#0C1793
ΔE00 5.12
Cobalt Blue
#030AA7
ΔE00 6.16
Royal Blue (survey)
#0504AA
ΔE00 6.64
Ultramarine
#2000B1
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2BA0 #A0A02B
analogous
#2B66A0 #2B2BA0 #662BA0
triadic
#2B2BA0 #A02B2B #2BA02B
tetradic
#2B2BA0 #A02B66 #A0A02B #2BA066
square
#2B2BA0 #A02B66 #A0A02B #2BA066
split-complementary
#2B2BA0 #A0662B #66A02B
monochromatic
#111140 #1E1E70 #2B2BA0 #3D3DCB #6E6ED8
Accessibility & contrast
On white
10.74
#2B2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2B2BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2BA0
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2BA0 | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b2ba0; /* rgb */ color: rgb(43, 43, 160); /* oklch */ color: oklch(38.0% 0.182 273.5);
Tailwind
colors: {
custom: {
50: '#7766bd',
500: '#2b2ba0',
950: '#000000',
},
}SCSS
$custom: #2b2ba0; $custom-light: #7766bd; $custom-dark: #000000;
JSON
{
"hex": "#2b2ba0",
"rgb": {
"r": 43,
"g": 43,
"b": 160
},
"hsl": {
"h": 240,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.37958,
"c": 0.18189,
"h": 273.5
},
"luminance": 0.04779
}Semantic roles & 50–950 ramp
primary
#2B2BA0
secondary
#BFBF68
accent
#E147E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81