#2045A3#2045A3
#2045A3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.158 H 264.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2045A3 |
|---|---|
| RGB | rgb(32, 69, 163) |
| HSL | hsl(223, 67%, 38%) |
| HSV | hsv(223, 80%, 64%) |
| CMYK | cmyk(80.4%, 57.7%, 0%, 36.1%) |
| CIE-LAB | lab(32.27, 22.60, -54.48) |
| CIE-LCH | lch(32.27, 58.98, 292.53°) |
| OKLab | oklab(42.44% -0.0156 -0.1573) |
| OKLCH | oklch(42.44% 0.158 264.3) |
| XYZ | xyz(9.3323, 7.2066, 35.5424) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.97
Cobalt (survey)
#1E488F
ΔE00 3.58
Sapphire (survey)
#2138AB
ΔE00 4.74
Sapphire
#0F52BA
ΔE00 5.12
Blue Blue
#2242C7
ΔE00 5.44
Darkish Blue
#014182
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2045A3 #A37E20
analogous
#2086A3 #2045A3 #3C20A3
triadic
#2045A3 #A32045 #45A320
tetradic
#2045A3 #A32086 #A37E20 #20A33C
square
#2045A3 #A32086 #A37E20 #20A33C
split-complementary
#2045A3 #A33C20 #86A320
monochromatic
#0C1A3D #162F70 #2045A3 #2B5BD5 #5E83DF
Accessibility & contrast
On white
8.60
#2045A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2045A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2045A3
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2045A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2045A3 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2045a3; /* rgb */ color: rgb(32, 69, 163); /* oklch */ color: oklch(42.4% 0.158 264.3);
Tailwind
colors: {
custom: {
50: '#7278bf',
500: '#2045a3',
950: '#000000',
},
}SCSS
$custom: #2045a3; $custom-light: #7278bf; $custom-dark: #000000;
JSON
{
"hex": "#2045a3",
"rgb": {
"r": 32,
"g": 69,
"b": 163
},
"hsl": {
"h": 223.053,
"s": 67.179,
"l": 38.235
},
"oklch": {
"l": 0.42435,
"c": 0.1581,
"h": 264.3
},
"luminance": 0.07208
}Semantic roles & 50–950 ramp
primary
#2045A3
secondary
#C4A65B
accent
#B93EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81