#2145AD#2145AD
#2145AD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.171 H 265.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2145AD |
|---|---|
| RGB | rgb(33, 69, 173) |
| HSL | hsl(225, 68%, 40%) |
| HSV | hsv(225, 81%, 68%) |
| CMYK | cmyk(80.9%, 60.1%, 0%, 32.2%) |
| CIE-LAB | lab(33.13, 26.60, -59.08) |
| CIE-LCH | lch(33.13, 64.79, 294.24°) |
| OKLab | oklab(43.34% -0.0145 -0.1708) |
| OKLCH | oklch(43.34% 0.171 265.2) |
| XYZ | xyz(10.2955, 7.5955, 40.4505) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.33
Blue Blue
#2242C7
ΔE00 3.95
Sapphire (survey)
#2138AB
ΔE00 4.14
Sapphire
#0F52BA
ΔE00 4.84
Cobalt (survey)
#1E488F
ΔE00 4.98
Blueberry
#464196
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2145AD #AD8921
analogous
#218BAD #2145AD #4321AD
triadic
#2145AD #AD2145 #45AD21
tetradic
#2145AD #AD218B #AD8921 #21AD43
square
#2145AD #AD218B #AD8921 #21AD43
split-complementary
#2145AD #AD4321 #8BAD21
monochromatic
#0D1C46 #17317A #2145AD #335ED8 #6686E2
Accessibility & contrast
On white
8.34
#2145AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2145AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2145AD
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2145AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2145AD | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2145ad; /* rgb */ color: rgb(33, 69, 173); /* oklch */ color: oklch(43.3% 0.171 265.2);
Tailwind
colors: {
custom: {
50: '#7578c6',
500: '#2145ad',
950: '#000000',
},
}SCSS
$custom: #2145ad; $custom-light: #7578c6; $custom-dark: #000000;
JSON
{
"hex": "#2145ad",
"rgb": {
"r": 33,
"g": 69,
"b": 173
},
"hsl": {
"h": 224.571,
"s": 67.961,
"l": 40.392
},
"oklch": {
"l": 0.43339,
"c": 0.17141,
"h": 265.2
},
"luminance": 0.07597
}Semantic roles & 50–950 ramp
primary
#2145AD
secondary
#C7AD62
accent
#BE3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82