#2B28AB#2B28AB
#2B28AB is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.199 H 273.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2B28AB |
|---|---|
| RGB | rgb(43, 40, 171) |
| HSL | hsl(241, 62%, 41%) |
| HSV | hsv(241, 77%, 67%) |
| CMYK | cmyk(74.9%, 76.6%, 0%, 32.9%) |
| CIE-LAB | lab(26.65, 44.93, -68.50) |
| CIE-LCH | lch(26.65, 81.92, 303.26°) |
| OKLab | oklab(38.7% 0.0106 -0.1982) |
| OKLCH | oklch(38.7% 0.199 273) |
| XYZ | xyz(9.1033, 4.9705, 38.9998) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.47
Sapphire (survey)
#2138AB
ΔE00 4.60
True Blue
#010FCC
ΔE00 5.14
Royal
#0C1793
ΔE00 5.36
Cobalt Blue
#030AA7
ΔE00 5.45
Ultramarine
#2000B1
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B28AB #A8AB28
analogous
#2867AB #2B28AB #6D28AB
triadic
#2B28AB #AB2B28 #28AB2B
tetradic
#2B28AB #AB2867 #A8AB28 #28AB6D
square
#2B28AB #AB2867 #A8AB28 #28AB6D
split-complementary
#2B28AB #AB6D28 #67AB28
monochromatic
#121148 #1F1C79 #2B28AB #423ED2 #7270DE
Accessibility & contrast
On white
10.53
#2B28AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2B28AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B28AB
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B28AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B28AB | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b28ab; /* rgb */ color: rgb(43, 40, 171); /* oklch */ color: oklch(38.7% 0.199 273.0);
Tailwind
colors: {
custom: {
50: '#7a64c5',
500: '#2b28ab',
950: '#000000',
},
}SCSS
$custom: #2b28ab; $custom-light: #7a64c5; $custom-dark: #000000;
JSON
{
"hex": "#2b28ab",
"rgb": {
"r": 43,
"g": 40,
"b": 171
},
"hsl": {
"h": 241.374,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.38699,
"c": 0.1985,
"h": 273
},
"luminance": 0.04971
}Semantic roles & 50–950 ramp
primary
#2B28AB
secondary
#C2C46A
accent
#E543E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82