#2045A8#2045A8
#2045A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.165 H 264.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2045A8 |
|---|---|
| RGB | rgb(32, 69, 168) |
| HSL | hsl(224, 68%, 39%) |
| HSV | hsv(224, 81%, 66%) |
| CMYK | cmyk(81%, 58.9%, 0%, 34.1%) |
| CIE-LAB | lab(32.68, 24.56, -56.82) |
| CIE-LCH | lch(32.68, 61.90, 293.37°) |
| OKLab | oklab(42.86% -0.0154 -0.1642) |
| OKLCH | oklch(42.86% 0.165 264.7) |
| XYZ | xyz(9.7892, 7.3893, 37.9485) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.99
Cobalt (survey)
#1E488F
ΔE00 4.26
Sapphire (survey)
#2138AB
ΔE00 4.40
Blue Blue
#2242C7
ΔE00 4.71
Sapphire
#0F52BA
ΔE00 4.92
Blueberry
#464196
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2045A8 #A88320
analogous
#2089A8 #2045A8 #3F20A8
triadic
#2045A8 #A82045 #45A820
tetradic
#2045A8 #A82089 #A88320 #20A83F
square
#2045A8 #A82089 #A88320 #20A83F
split-complementary
#2045A8 #A83F20 #89A820
monochromatic
#0C1B41 #163075 #2045A8 #2E5CD7 #6184E1
Accessibility & contrast
On white
8.47
#2045A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2045A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2045A8
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2045A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2045A8 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2045a8; /* rgb */ color: rgb(32, 69, 168); /* oklch */ color: oklch(42.9% 0.165 264.7);
Tailwind
colors: {
custom: {
50: '#7378c3',
500: '#2045a8',
950: '#000000',
},
}SCSS
$custom: #2045a8; $custom-light: #7378c3; $custom-dark: #000000;
JSON
{
"hex": "#2045a8",
"rgb": {
"r": 32,
"g": 69,
"b": 168
},
"hsl": {
"h": 223.676,
"s": 68,
"l": 39.216
},
"oklch": {
"l": 0.42865,
"c": 0.16493,
"h": 264.7
},
"luminance": 0.0739
}Semantic roles & 50–950 ramp
primary
#2045A8
secondary
#C6AA5E
accent
#BC3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82