#2B28AC#2B28AC
#2B28AC is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.200 H 273.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2B28AC |
|---|---|
| RGB | rgb(43, 40, 172) |
| HSL | hsl(241, 62%, 42%) |
| HSV | hsv(241, 77%, 67%) |
| CMYK | cmyk(75%, 76.7%, 0%, 32.5%) |
| CIE-LAB | lab(26.76, 45.25, -68.92) |
| CIE-LCH | lch(26.76, 82.45, 303.29°) |
| OKLab | oklab(38.81% 0.0104 -0.1994) |
| OKLCH | oklch(38.81% 0.2 273) |
| XYZ | xyz(9.1990, 5.0088, 39.5037) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.43
Sapphire (survey)
#2138AB
ΔE00 4.60
True Blue
#010FCC
ΔE00 5.05
Royal
#0C1793
ΔE00 5.45
Cobalt Blue
#030AA7
ΔE00 5.47
Ultramarine
#2000B1
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B28AC #A9AC28
analogous
#2867AC #2B28AC #6D28AC
triadic
#2B28AC #AC2B28 #28AC2B
tetradic
#2B28AC #AC2867 #A9AC28 #28AC6D
square
#2B28AC #AC2867 #A9AC28 #28AC6D
split-complementary
#2B28AC #AC6D28 #67AC28
monochromatic
#121149 #1F1C7A #2B28AC #423FD2 #7371DE
Accessibility & contrast
On white
10.49
#2B28AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2B28AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B28AC
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B28AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B28AC | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b28ac; /* rgb */ color: rgb(43, 40, 172); /* oklch */ color: oklch(38.8% 0.200 273.0);
Tailwind
colors: {
custom: {
50: '#7a64c6',
500: '#2b28ac',
950: '#000000',
},
}SCSS
$custom: #2b28ac; $custom-light: #7a64c6; $custom-dark: #000000;
JSON
{
"hex": "#2b28ac",
"rgb": {
"r": 43,
"g": 40,
"b": 172
},
"hsl": {
"h": 241.364,
"s": 62.264,
"l": 41.569
},
"oklch": {
"l": 0.38808,
"c": 0.19971,
"h": 273
},
"luminance": 0.0501
}Semantic roles & 50–950 ramp
primary
#2B28AC
secondary
#C3C56B
accent
#E542E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82