#2145B1#2145B1
#2145B1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.177 H 265.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2145B1 |
|---|---|
| RGB | rgb(33, 69, 177) |
| HSL | hsl(225, 69%, 41%) |
| HSV | hsv(225, 81%, 69%) |
| CMYK | cmyk(81.4%, 61%, 0%, 30.6%) |
| CIE-LAB | lab(33.46, 28.14, -60.91) |
| CIE-LCH | lch(33.46, 67.09, 294.80°) |
| OKLab | oklab(43.7% -0.0144 -0.1762) |
| OKLCH | oklch(43.7% 0.177 265.3) |
| XYZ | xyz(10.6883, 7.7526, 42.5195) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.66
Blue Blue
#2242C7
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 4.07
Sapphire
#0F52BA
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.52
Blue (survey)
#0343DF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2145B1 #B18D21
analogous
#218DB1 #2145B1 #4521B1
triadic
#2145B1 #B12145 #45B121
tetradic
#2145B1 #B1218D #B18D21 #21B145
square
#2145B1 #B1218D #B18D21 #21B145
split-complementary
#2145B1 #B14521 #8DB121
monochromatic
#0E1D4A #17317D #2145B1 #365FD9 #6988E3
Accessibility & contrast
On white
8.23
#2145B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2145B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2145B1
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2145B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2145B1 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2145b1; /* rgb */ color: rgb(33, 69, 177); /* oklch */ color: oklch(43.7% 0.177 265.3);
Tailwind
colors: {
custom: {
50: '#7678c9',
500: '#2145b1',
950: '#000000',
},
}SCSS
$custom: #2145b1; $custom-light: #7678c9; $custom-dark: #000000;
JSON
{
"hex": "#2145b1",
"rgb": {
"r": 33,
"g": 69,
"b": 177
},
"hsl": {
"h": 225,
"s": 68.571,
"l": 41.176
},
"oklch": {
"l": 0.43695,
"c": 0.17676,
"h": 265.3
},
"luminance": 0.07754
}Semantic roles & 50–950 ramp
primary
#2145B1
secondary
#C9B065
accent
#C03CEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82