#2145B2#2145B2
#2145B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.178 H 265.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2145B2 |
|---|---|
| RGB | rgb(33, 69, 178) |
| HSL | hsl(225, 69%, 41%) |
| HSV | hsv(225, 81%, 70%) |
| CMYK | cmyk(81.5%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(33.55, 28.52, -61.36) |
| CIE-LCH | lch(33.55, 67.67, 294.93°) |
| OKLab | oklab(43.78% -0.0143 -0.1775) |
| OKLCH | oklch(43.78% 0.178 265.4) |
| XYZ | xyz(10.7884, 7.7926, 43.0464) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.75
Blue Blue
#2242C7
ΔE00 3.24
Sapphire (survey)
#2138AB
ΔE00 4.07
Sapphire
#0F52BA
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.65
Blue (survey)
#0343DF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2145B2 #B28E21
analogous
#218EB2 #2145B2 #4521B2
triadic
#2145B2 #B22145 #45B221
tetradic
#2145B2 #B2218E #B28E21 #21B245
square
#2145B2 #B2218E #B28E21 #21B245
split-complementary
#2145B2 #B24521 #8EB221
monochromatic
#0E1D4B #17317E #2145B2 #365FDA #6A88E3
Accessibility & contrast
On white
8.21
#2145B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2145B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2145B2
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2145B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2145B2 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2145b2; /* rgb */ color: rgb(33, 69, 178); /* oklch */ color: oklch(43.8% 0.178 265.4);
Tailwind
colors: {
custom: {
50: '#7678ca',
500: '#2145b2',
950: '#000000',
},
}SCSS
$custom: #2145b2; $custom-light: #7678ca; $custom-dark: #000000;
JSON
{
"hex": "#2145b2",
"rgb": {
"r": 33,
"g": 69,
"b": 178
},
"hsl": {
"h": 225.103,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.43784,
"c": 0.17809,
"h": 265.4
},
"luminance": 0.07794
}Semantic roles & 50–950 ramp
primary
#2145B2
secondary
#C9B066
accent
#C03CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82