#2B28A6#2B28A6
#2B28A6 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.192 H 273.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2B28A6 |
|---|---|
| RGB | rgb(43, 40, 166) |
| HSL | hsl(241, 61%, 40%) |
| HSV | hsv(241, 76%, 65%) |
| CMYK | cmyk(74.1%, 75.9%, 0%, 34.9%) |
| CIE-LAB | lab(26.11, 43.28, -66.38) |
| CIE-LCH | lch(26.11, 79.24, 303.10°) |
| OKLab | oklab(38.16% 0.0116 -0.192) |
| OKLCH | oklch(38.16% 0.192 273.4) |
| XYZ | xyz(8.6357, 4.7835, 36.5372) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.75
Sapphire (survey)
#2138AB
ΔE00 4.63
Royal
#0C1793
ΔE00 4.94
Cobalt Blue
#030AA7
ΔE00 5.39
True Blue
#010FCC
ΔE00 5.65
Ultramarine
#2000B1
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B28A6 #A3A628
analogous
#2864A6 #2B28A6 #6A28A6
triadic
#2B28A6 #A62B28 #28A62B
tetradic
#2B28A6 #A62864 #A3A628 #28A66A
square
#2B28A6 #A62864 #A3A628 #28A66A
split-complementary
#2B28A6 #A66A28 #64A628
monochromatic
#111043 #1E1C75 #2B28A6 #3F3BD0 #6F6DDC
Accessibility & contrast
On white
10.73
#2B28A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2B28A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B28A6
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B28A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B28A6 | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b28a6; /* rgb */ color: rgb(43, 40, 166); /* oklch */ color: oklch(38.2% 0.192 273.4);
Tailwind
colors: {
custom: {
50: '#7964c2',
500: '#2b28a6',
950: '#000000',
},
}SCSS
$custom: #2b28a6; $custom-light: #7964c2; $custom-dark: #000000;
JSON
{
"hex": "#2b28a6",
"rgb": {
"r": 43,
"g": 40,
"b": 166
},
"hsl": {
"h": 241.429,
"s": 61.165,
"l": 40.392
},
"oklch": {
"l": 0.38156,
"c": 0.1924,
"h": 273.4
},
"luminance": 0.04784
}Semantic roles & 50–950 ramp
primary
#2B28A6
secondary
#C0C267
accent
#E444E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82