#2246A2#2246A2
#2246A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.155 H 264.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2246A2 |
|---|---|
| RGB | rgb(34, 70, 162) |
| HSL | hsl(223, 65%, 38%) |
| HSV | hsv(223, 79%, 64%) |
| CMYK | cmyk(79%, 56.8%, 0%, 36.5%) |
| CIE-LAB | lab(32.54, 21.74, -53.44) |
| CIE-LCH | lch(32.54, 57.69, 292.14°) |
| OKLab | oklab(42.63% -0.0149 -0.1542) |
| OKLCH | oklch(42.63% 0.155 264.5) |
| XYZ | xyz(9.3691, 7.3280, 35.0961) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.98
Cobalt (survey)
#1E488F
ΔE00 3.34
Sapphire
#0F52BA
ΔE00 4.96
Sapphire (survey)
#2138AB
ΔE00 5.07
Blue Blue
#2242C7
ΔE00 5.64
Darkish Blue
#014182
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2246A2 #A27E22
analogous
#2286A2 #2246A2 #3E22A2
triadic
#2246A2 #A22246 #46A222
tetradic
#2246A2 #A22286 #A27E22 #22A23E
square
#2246A2 #A22286 #A27E22 #22A23E
split-complementary
#2246A2 #A23E22 #86A222
monochromatic
#0D1A3D #17306F #2246A2 #2E5CD3 #6184DE
Accessibility & contrast
On white
8.52
#2246A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2246A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2246A2
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2246A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2246A2 | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2246a2; /* rgb */ color: rgb(34, 70, 162); /* oklch */ color: oklch(42.6% 0.155 264.5);
Tailwind
colors: {
custom: {
50: '#7278be',
500: '#2246a2',
950: '#000000',
},
}SCSS
$custom: #2246a2; $custom-light: #7278be; $custom-dark: #000000;
JSON
{
"hex": "#2246a2",
"rgb": {
"r": 34,
"g": 70,
"b": 162
},
"hsl": {
"h": 223.125,
"s": 65.306,
"l": 38.431
},
"oklch": {
"l": 0.42633,
"c": 0.15493,
"h": 264.5
},
"luminance": 0.07329
}Semantic roles & 50–950 ramp
primary
#2246A2
secondary
#C3A65D
accent
#B940E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81