#2045A6#2045A6
#2045A6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.162 H 264.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2045A6 |
|---|---|
| RGB | rgb(32, 69, 166) |
| HSL | hsl(223, 68%, 39%) |
| HSV | hsv(223, 81%, 65%) |
| CMYK | cmyk(80.7%, 58.4%, 0%, 34.9%) |
| CIE-LAB | lab(32.51, 23.77, -55.89) |
| CIE-LCH | lch(32.51, 60.73, 293.04°) |
| OKLab | oklab(42.69% -0.0154 -0.1615) |
| OKLCH | oklch(42.69% 0.162 264.5) |
| XYZ | xyz(9.6043, 7.3154, 36.9748) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.95
Cobalt (survey)
#1E488F
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.52
Sapphire
#0F52BA
ΔE00 4.99
Blue Blue
#2242C7
ΔE00 5.00
Darkish Blue
#014182
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2045A6 #A68120
analogous
#2088A6 #2045A6 #3E20A6
triadic
#2045A6 #A62045 #45A620
tetradic
#2045A6 #A62088 #A68120 #20A63E
square
#2045A6 #A62088 #A68120 #20A63E
split-complementary
#2045A6 #A63E20 #88A620
monochromatic
#0C1A3F #163073 #2045A6 #2D5CD6 #6083E0
Accessibility & contrast
On white
8.53
#2045A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2045A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2045A6
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2045A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2045A6 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2045a6; /* rgb */ color: rgb(32, 69, 166); /* oklch */ color: oklch(42.7% 0.162 264.5);
Tailwind
colors: {
custom: {
50: '#7278c1',
500: '#2045a6',
950: '#000000',
},
}SCSS
$custom: #2045a6; $custom-light: #7278c1; $custom-dark: #000000;
JSON
{
"hex": "#2045a6",
"rgb": {
"r": 32,
"g": 69,
"b": 166
},
"hsl": {
"h": 223.433,
"s": 67.677,
"l": 38.824
},
"oklch": {
"l": 0.42692,
"c": 0.1622,
"h": 264.5
},
"luminance": 0.07316
}Semantic roles & 50–950 ramp
primary
#2045A6
secondary
#C5A85D
accent
#BB3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81