#2B2CA0#2B2CA0
#2B2CA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.181 H 273.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2CA0 |
|---|---|
| RGB | rgb(43, 44, 160) |
| HSL | hsl(239, 58%, 40%) |
| HSV | hsv(239, 73%, 63%) |
| CMYK | cmyk(73.1%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(26.31, 38.92, -62.41) |
| CIE-LCH | lch(26.31, 73.55, 301.95°) |
| OKLab | oklab(38.11% 0.0106 -0.1805) |
| OKLCH | oklch(38.11% 0.181 273.4) |
| XYZ | xyz(8.2400, 4.8522, 33.7532) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.84
Indigo Blue
#3A18B1
ΔE00 5.03
Royal
#0C1793
ΔE00 5.33
Cobalt Blue
#030AA7
ΔE00 6.40
Blueberry
#464196
ΔE00 6.82
Royal Blue (survey)
#0504AA
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2CA0 #A09F2B
analogous
#2B67A0 #2B2CA0 #642BA0
triadic
#2B2CA0 #A02B2C #2CA02B
tetradic
#2B2CA0 #A02B67 #A09F2B #2BA064
square
#2B2CA0 #A02B67 #A09F2B #2BA064
split-complementary
#2B2CA0 #A0642B #67A02B
monochromatic
#111140 #1E1F70 #2B2CA0 #3D3ECB #6E6ED8
Accessibility & contrast
On white
10.66
#2B2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2B2CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2CA0
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2CA0 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b2ca0; /* rgb */ color: rgb(43, 44, 160); /* oklch */ color: oklch(38.1% 0.181 273.4);
Tailwind
colors: {
custom: {
50: '#7766bd',
500: '#2b2ca0',
950: '#000000',
},
}SCSS
$custom: #2b2ca0; $custom-light: #7766bd; $custom-dark: #000000;
JSON
{
"hex": "#2b2ca0",
"rgb": {
"r": 43,
"g": 44,
"b": 160
},
"hsl": {
"h": 239.487,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.38112,
"c": 0.18083,
"h": 273.4
},
"luminance": 0.04853
}Semantic roles & 50–950 ramp
primary
#2B2CA0
secondary
#BFBE68
accent
#E047E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81