#2045B4#2045B4
#2045B4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.181 H 265.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2045B4 |
|---|---|
| RGB | rgb(32, 69, 180) |
| HSL | hsl(225, 70%, 42%) |
| HSV | hsv(225, 82%, 71%) |
| CMYK | cmyk(82.2%, 61.7%, 0%, 29.4%) |
| CIE-LAB | lab(33.68, 29.20, -62.32) |
| CIE-LCH | lch(33.68, 68.83, 295.11°) |
| OKLab | oklab(43.93% -0.015 -0.1803) |
| OKLCH | oklch(43.93% 0.181 265.2) |
| XYZ | xyz(10.9591, 7.8573, 44.1102) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.88
Blue Blue
#2242C7
ΔE00 3.00
Sapphire (survey)
#2138AB
ΔE00 4.10
Sapphire
#0F52BA
ΔE00 4.80
Blue (survey)
#0343DF
ΔE00 5.47
Cobalt (survey)
#1E488F
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2045B4 #B48F20
analogous
#208FB4 #2045B4 #4520B4
triadic
#2045B4 #B42045 #45B420
tetradic
#2045B4 #B4208F #B48F20 #20B445
square
#2045B4 #B4208F #B48F20 #20B445
split-complementary
#2045B4 #B44520 #8FB420
monochromatic
#0E1D4C #173180 #2045B4 #365FDB #6A89E4
Accessibility & contrast
On white
8.17
#2045B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2045B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2045B4
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2045B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2045B4 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2045b4; /* rgb */ color: rgb(32, 69, 180); /* oklch */ color: oklch(43.9% 0.181 265.2);
Tailwind
colors: {
custom: {
50: '#7678cb',
500: '#2045b4',
950: '#000000',
},
}SCSS
$custom: #2045b4; $custom-light: #7678cb; $custom-dark: #000000;
JSON
{
"hex": "#2045b4",
"rgb": {
"r": 32,
"g": 69,
"b": 180
},
"hsl": {
"h": 225,
"s": 69.811,
"l": 41.569
},
"oklch": {
"l": 0.43929,
"c": 0.18098,
"h": 265.2
},
"luminance": 0.07859
}Semantic roles & 50–950 ramp
primary
#2045B4
secondary
#CAB166
accent
#C03BED
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82