#2B2DA4#2B2DA4
#2B2DA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.185 H 272.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2DA4 |
|---|---|
| RGB | rgb(43, 45, 164) |
| HSL | hsl(239, 58%, 41%) |
| HSV | hsv(239, 74%, 64%) |
| CMYK | cmyk(73.8%, 72.6%, 0%, 35.7%) |
| CIE-LAB | lab(26.93, 39.70, -63.81) |
| CIE-LCH | lch(26.93, 75.15, 301.89°) |
| OKLab | oklab(38.68% 0.0094 -0.1846) |
| OKLCH | oklch(38.68% 0.185 272.9) |
| XYZ | xyz(8.6332, 5.0698, 35.6383) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.47
Indigo Blue
#3A18B1
ΔE00 4.95
Royal
#0C1793
ΔE00 5.74
Cobalt Blue
#030AA7
ΔE00 6.57
True Blue
#010FCC
ΔE00 6.65
Blueberry
#464196
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2DA4 #A4A22B
analogous
#2B69A4 #2B2DA4 #652BA4
triadic
#2B2DA4 #A42B2D #2DA42B
tetradic
#2B2DA4 #A42B69 #A4A22B #2BA465
square
#2B2DA4 #A42B69 #A4A22B #2BA465
split-complementary
#2B2DA4 #A4652B #69A42B
monochromatic
#121243 #1E2074 #2B2DA4 #3F42CD #7072D9
Accessibility & contrast
On white
10.43
#2B2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2B2DA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2DA4
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2DA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2DA4 | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b2da4; /* rgb */ color: rgb(43, 45, 164); /* oklch */ color: oklch(38.7% 0.185 272.9);
Tailwind
colors: {
custom: {
50: '#7867c0',
500: '#2b2da4',
950: '#000000',
},
}SCSS
$custom: #2b2da4; $custom-light: #7867c0; $custom-dark: #000000;
JSON
{
"hex": "#2b2da4",
"rgb": {
"r": 43,
"g": 45,
"b": 164
},
"hsl": {
"h": 239.008,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.3868,
"c": 0.18484,
"h": 272.9
},
"luminance": 0.05071
}Semantic roles & 50–950 ramp
primary
#2B2DA4
secondary
#C1BF6A
accent
#DF46E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81