#2045AF#2045AF
#2045AF is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.174 H 265.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2045AF |
|---|---|
| RGB | rgb(32, 69, 175) |
| HSL | hsl(224, 69%, 41%) |
| HSV | hsv(224, 82%, 69%) |
| CMYK | cmyk(81.7%, 60.6%, 0%, 31.4%) |
| CIE-LAB | lab(33.26, 27.28, -60.05) |
| CIE-LCH | lch(33.26, 65.96, 294.43°) |
| OKLab | oklab(43.48% -0.0151 -0.1737) |
| OKLCH | oklch(43.48% 0.174 265) |
| XYZ | xyz(10.4589, 7.6572, 41.4759) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.41
Blue Blue
#2242C7
ΔE00 3.70
Sapphire (survey)
#2138AB
ΔE00 4.12
Sapphire
#0F52BA
ΔE00 4.78
Cobalt (survey)
#1E488F
ΔE00 5.21
Blue (survey)
#0343DF
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2045AF #AF8A20
analogous
#208CAF #2045AF #4320AF
triadic
#2045AF #AF2045 #45AF20
tetradic
#2045AF #AF208C #AF8A20 #20AF43
square
#2045AF #AF208C #AF8A20 #20AF43
split-complementary
#2045AF #AF4320 #8CAF20
monochromatic
#0D1C48 #17317B #2045AF #335EDA #6687E3
Accessibility & contrast
On white
8.30
#2045AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2045AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2045AF
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2045AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2045AF | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2045af; /* rgb */ color: rgb(32, 69, 175); /* oklch */ color: oklch(43.5% 0.174 265.0);
Tailwind
colors: {
custom: {
50: '#7578c8',
500: '#2045af',
950: '#000000',
},
}SCSS
$custom: #2045af; $custom-light: #7578c8; $custom-dark: #000000;
JSON
{
"hex": "#2045af",
"rgb": {
"r": 32,
"g": 69,
"b": 175
},
"hsl": {
"h": 224.476,
"s": 69.082,
"l": 40.588
},
"oklch": {
"l": 0.4348,
"c": 0.17434,
"h": 265
},
"luminance": 0.07658
}Semantic roles & 50–950 ramp
primary
#2045AF
secondary
#C8AE62
accent
#BE3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82