#2046AF#2046AF
#2046AF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.173 H 264.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2046AF |
|---|---|
| RGB | rgb(32, 70, 175) |
| HSL | hsl(224, 69%, 41%) |
| HSV | hsv(224, 82%, 69%) |
| CMYK | cmyk(81.7%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(33.52, 26.61, -59.62) |
| CIE-LCH | lch(33.52, 65.29, 294.05°) |
| OKLab | oklab(43.68% -0.0157 -0.1724) |
| OKLCH | oklch(43.68% 0.173 264.8) |
| XYZ | xyz(10.5209, 7.7813, 41.4966) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.20
Blue Blue
#2242C7
ΔE00 3.85
Sapphire (survey)
#2138AB
ΔE00 4.46
Sapphire
#0F52BA
ΔE00 4.46
Cobalt (survey)
#1E488F
ΔE00 5.04
Blue (survey)
#0343DF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2046AF #AF8920
analogous
#208DAF #2046AF #4120AF
triadic
#2046AF #AF2046 #46AF20
tetradic
#2046AF #AF208D #AF8920 #20AF41
square
#2046AF #AF208D #AF8920 #20AF41
split-complementary
#2046AF #AF4120 #8DAF20
monochromatic
#0D1D48 #17317B #2046AF #335FDA #6687E3
Accessibility & contrast
On white
8.21
#2046AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2046AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2046AF
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2046AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2046AF | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2046af; /* rgb */ color: rgb(32, 70, 175); /* oklch */ color: oklch(43.7% 0.173 264.8);
Tailwind
colors: {
custom: {
50: '#7579c8',
500: '#2046af',
950: '#000000',
},
}SCSS
$custom: #2046af; $custom-light: #7579c8; $custom-dark: #000000;
JSON
{
"hex": "#2046af",
"rgb": {
"r": 32,
"g": 70,
"b": 175
},
"hsl": {
"h": 224.056,
"s": 69.082,
"l": 40.588
},
"oklch": {
"l": 0.43678,
"c": 0.17312,
"h": 264.8
},
"luminance": 0.07783
}Semantic roles & 50–950 ramp
primary
#2046AF
secondary
#C8AD62
accent
#BD3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82