#2B2CAA#2B2CAA
#2B2CAA is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.193 H 272.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2CAA |
|---|---|
| RGB | rgb(43, 44, 170) |
| HSL | hsl(240, 60%, 42%) |
| HSV | hsv(240, 75%, 67%) |
| CMYK | cmyk(74.7%, 74.1%, 0%, 33.3%) |
| CIE-LAB | lab(27.34, 42.34, -66.76) |
| CIE-LCH | lch(27.34, 79.05, 302.38°) |
| OKLab | oklab(39.16% 0.0089 -0.1932) |
| OKLCH | oklch(39.16% 0.193 272.6) |
| XYZ | xyz(9.1502, 5.2163, 38.5470) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.66
Indigo Blue
#3A18B1
ΔE00 4.37
True Blue
#010FCC
ΔE00 5.88
Royal
#0C1793
ΔE00 5.93
Cobalt Blue
#030AA7
ΔE00 6.32
Ultramarine
#2000B1
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2CAA #AAA92B
analogous
#2B6BAA #2B2CAA #6A2BAA
triadic
#2B2CAA #AA2B2C #2CAA2B
tetradic
#2B2CAA #AA2B6B #AAA92B #2BAA6A
square
#2B2CAA #AA2B6B #AAA92B #2BAA6A
split-complementary
#2B2CAA #AA6A2B #6BAA2B
monochromatic
#121348 #1F1F79 #2B2CAA #4344CF #7474DC
Accessibility & contrast
On white
10.28
#2B2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2B2CAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2CAA
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2CAA | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b2caa; /* rgb */ color: rgb(43, 44, 170); /* oklch */ color: oklch(39.2% 0.193 272.6);
Tailwind
colors: {
custom: {
50: '#7967c5',
500: '#2b2caa',
950: '#000000',
},
}SCSS
$custom: #2b2caa; $custom-light: #7967c5; $custom-dark: #000000;
JSON
{
"hex": "#2b2caa",
"rgb": {
"r": 43,
"g": 44,
"b": 170
},
"hsl": {
"h": 239.528,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.39158,
"c": 0.19339,
"h": 272.6
},
"luminance": 0.05217
}Semantic roles & 50–950 ramp
primary
#2B2CAA
secondary
#C3C36E
accent
#E245E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82