#2045B2#2045B2
#2045B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.178 H 265.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2045B2 |
|---|---|
| RGB | rgb(32, 69, 178) |
| HSL | hsl(225, 70%, 41%) |
| HSV | hsv(225, 82%, 70%) |
| CMYK | cmyk(82%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(33.51, 28.44, -61.42) |
| CIE-LCH | lch(33.51, 67.68, 294.84°) |
| OKLab | oklab(43.75% -0.0151 -0.1777) |
| OKLCH | oklch(43.75% 0.178 265.2) |
| XYZ | xyz(10.7568, 7.7764, 43.0449) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.68
Blue Blue
#2242C7
ΔE00 3.28
Sapphire (survey)
#2138AB
ΔE00 4.09
Sapphire
#0F52BA
ΔE00 4.78
Cobalt (survey)
#1E488F
ΔE00 5.61
Blue (survey)
#0343DF
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2045B2 #B28D20
analogous
#208EB2 #2045B2 #4420B2
triadic
#2045B2 #B22045 #45B220
tetradic
#2045B2 #B2208E #B28D20 #20B244
square
#2045B2 #B2208E #B28D20 #20B244
split-complementary
#2045B2 #B24420 #8EB220
monochromatic
#0D1D4A #17317E #2045B2 #355FDB #6888E4
Accessibility & contrast
On white
8.22
#2045B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2045B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2045B2
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2045B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2045B2 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 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: #2045b2; /* rgb */ color: rgb(32, 69, 178); /* oklch */ color: oklch(43.7% 0.178 265.2);
Tailwind
colors: {
custom: {
50: '#7678ca',
500: '#2045b2',
950: '#000000',
},
}SCSS
$custom: #2045b2; $custom-light: #7678ca; $custom-dark: #000000;
JSON
{
"hex": "#2045b2",
"rgb": {
"r": 32,
"g": 69,
"b": 178
},
"hsl": {
"h": 224.795,
"s": 69.524,
"l": 41.176
},
"oklch": {
"l": 0.43749,
"c": 0.17833,
"h": 265.2
},
"luminance": 0.07778
}Semantic roles & 50–950 ramp
primary
#2045B2
secondary
#CAB064
accent
#C03BEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82