#2128AA#2128AA
#2128AA is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.200 H 269.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2128AA |
|---|---|
| RGB | rgb(33, 40, 170) |
| HSL | hsl(237, 67%, 40%) |
| HSV | hsv(237, 81%, 67%) |
| CMYK | cmyk(80.6%, 76.5%, 0%, 33.3%) |
| CIE-LAB | lab(25.99, 43.83, -69.01) |
| CIE-LCH | lch(25.99, 81.75, 302.42°) |
| OKLab | oklab(38.05% -0.0004 -0.1999) |
| OKLCH | oklch(38.05% 0.2 269.9) |
| XYZ | xyz(8.6392, 4.7422, 38.4824) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.07
Sapphire (survey)
#2138AB
ΔE00 4.35
Royal
#0C1793
ΔE00 5.00
True Blue
#010FCC
ΔE00 5.28
Cobalt Blue
#030AA7
ΔE00 5.30
Ultramarine
#2000B1
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2128AA #AAA321
analogous
#216DAA #2128AA #5E21AA
triadic
#2128AA #AA2128 #28AA21
tetradic
#2128AA #AA216D #AAA321 #21AA5E
square
#2128AA #AA216D #AAA321 #21AA5E
split-complementary
#2128AA #AA5E21 #6DAA21
monochromatic
#0D1043 #171C77 #2128AA #313AD7 #646BE1
Accessibility & contrast
On white
10.78
#2128AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2128AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2128AA
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2128AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2128AA | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2128aa; /* rgb */ color: rgb(33, 40, 170); /* oklch */ color: oklch(38.0% 0.200 269.9);
Tailwind
colors: {
custom: {
50: '#7664c5',
500: '#2128aa',
950: '#000000',
},
}SCSS
$custom: #2128aa; $custom-light: #7664c5; $custom-dark: #000000;
JSON
{
"hex": "#2128aa",
"rgb": {
"r": 33,
"g": 40,
"b": 170
},
"hsl": {
"h": 236.934,
"s": 67.488,
"l": 39.804
},
"oklch": {
"l": 0.38049,
"c": 0.19991,
"h": 269.9
},
"luminance": 0.04743
}Semantic roles & 50–950 ramp
primary
#2128AA
secondary
#C6C161
accent
#E23DEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82