#2046A4#2046A4
#2046A4 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.158 H 264.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2046A4 |
|---|---|
| RGB | rgb(32, 70, 164) |
| HSL | hsl(223, 67%, 38%) |
| HSV | hsv(223, 80%, 64%) |
| CMYK | cmyk(80.5%, 57.3%, 0%, 35.7%) |
| CIE-LAB | lab(32.63, 22.31, -54.50) |
| CIE-LCH | lch(32.63, 58.89, 292.26°) |
| OKLab | oklab(42.73% -0.0162 -0.1574) |
| OKLCH | oklch(42.73% 0.158 264.1) |
| XYZ | xyz(9.4843, 7.3666, 36.0368) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.76
Cobalt (survey)
#1E488F
ΔE00 3.51
Sapphire
#0F52BA
ΔE00 4.79
Sapphire (survey)
#2138AB
ΔE00 5.00
Blue Blue
#2242C7
ΔE00 5.43
Darkish Blue
#014182
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2046A4 #A47E20
analogous
#2088A4 #2046A4 #3C20A4
triadic
#2046A4 #A42046 #46A420
tetradic
#2046A4 #A42088 #A47E20 #20A43C
square
#2046A4 #A42088 #A47E20 #20A43C
split-complementary
#2046A4 #A43C20 #88A420
monochromatic
#0C1A3E #163071 #2046A4 #2B5CD6 #5F84E0
Accessibility & contrast
On white
8.49
#2046A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2046A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2046A4
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2046A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2046A4 | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2046a4; /* rgb */ color: rgb(32, 70, 164); /* oklch */ color: oklch(42.7% 0.158 264.1);
Tailwind
colors: {
custom: {
50: '#7278c0',
500: '#2046a4',
950: '#000000',
},
}SCSS
$custom: #2046a4; $custom-light: #7278c0; $custom-dark: #000000;
JSON
{
"hex": "#2046a4",
"rgb": {
"r": 32,
"g": 70,
"b": 164
},
"hsl": {
"h": 222.727,
"s": 67.347,
"l": 38.431
},
"oklch": {
"l": 0.42726,
"c": 0.15821,
"h": 264.1
},
"luminance": 0.07368
}Semantic roles & 50–950 ramp
primary
#2046A4
secondary
#C4A65C
accent
#B93EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81