#2B2DA6#2B2DA6
#2B2DA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.187 H 272.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2DA6 |
|---|---|
| RGB | rgb(43, 45, 166) |
| HSL | hsl(239, 59%, 41%) |
| HSV | hsv(239, 74%, 65%) |
| CMYK | cmyk(74.1%, 72.9%, 0%, 34.9%) |
| CIE-LAB | lab(27.14, 40.39, -64.68) |
| CIE-LCH | lch(27.14, 76.26, 301.98°) |
| OKLab | oklab(38.89% 0.0091 -0.1871) |
| OKLCH | oklch(38.89% 0.187 272.8) |
| XYZ | xyz(8.8153, 5.1426, 36.5970) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.43
Indigo Blue
#3A18B1
ΔE00 4.82
Royal
#0C1793
ΔE00 5.86
True Blue
#010FCC
ΔE00 6.44
Cobalt Blue
#030AA7
ΔE00 6.55
Blueberry
#464196
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2DA6 #A6A42B
analogous
#2B6AA6 #2B2DA6 #662BA6
triadic
#2B2DA6 #A62B2D #2DA62B
tetradic
#2B2DA6 #A62B6A #A6A42B #2BA666
square
#2B2DA6 #A62B6A #A6A42B #2BA666
split-complementary
#2B2DA6 #A6662B #6AA62B
monochromatic
#121345 #1E2075 #2B2DA6 #4143CE #7173DA
Accessibility & contrast
On white
10.35
#2B2DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2B2DA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2DA6
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2DA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2DA6 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b2da6; /* rgb */ color: rgb(43, 45, 166); /* oklch */ color: oklch(38.9% 0.187 272.8);
Tailwind
colors: {
custom: {
50: '#7867c2',
500: '#2b2da6',
950: '#000000',
},
}SCSS
$custom: #2b2da6; $custom-light: #7867c2; $custom-dark: #000000;
JSON
{
"hex": "#2b2da6",
"rgb": {
"r": 43,
"g": 45,
"b": 166
},
"hsl": {
"h": 239.024,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.38887,
"c": 0.18736,
"h": 272.8
},
"luminance": 0.05144
}Semantic roles & 50–950 ramp
primary
#2B2DA6
secondary
#C1C06B
accent
#E046E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81