#2246B2#2246B2
#2246B2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.177 H 265.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2246B2 |
|---|---|
| RGB | rgb(34, 70, 178) |
| HSL | hsl(225, 68%, 42%) |
| HSV | hsv(225, 81%, 70%) |
| CMYK | cmyk(80.9%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(33.84, 27.95, -60.87) |
| CIE-LCH | lch(33.84, 66.98, 294.66°) |
| OKLab | oklab(44.02% -0.0142 -0.1761) |
| OKLCH | oklch(44.02% 0.177 265.4) |
| XYZ | xyz(10.8829, 7.9335, 43.0686) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.64
Blue Blue
#2242C7
ΔE00 3.36
Sapphire (survey)
#2138AB
ΔE00 4.37
Sapphire
#0F52BA
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 5.54
Blue (survey)
#0343DF
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2246B2 #B28E22
analogous
#228EB2 #2246B2 #4622B2
triadic
#2246B2 #B22246 #46B222
tetradic
#2246B2 #B2228E #B28E22 #22B246
square
#2246B2 #B2228E #B28E22 #22B246
split-complementary
#2246B2 #B24622 #8EB222
monochromatic
#0E1E4B #18327F #2246B2 #3860D9 #6C89E3
Accessibility & contrast
On white
8.12
#2246B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2246B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2246B2
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2246B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2246B2 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2246b2; /* rgb */ color: rgb(34, 70, 178); /* oklch */ color: oklch(44.0% 0.177 265.4);
Tailwind
colors: {
custom: {
50: '#7679ca',
500: '#2246b2',
950: '#000000',
},
}SCSS
$custom: #2246b2; $custom-light: #7679ca; $custom-dark: #000000;
JSON
{
"hex": "#2246b2",
"rgb": {
"r": 34,
"g": 70,
"b": 178
},
"hsl": {
"h": 225,
"s": 67.925,
"l": 41.569
},
"oklch": {
"l": 0.44015,
"c": 0.17662,
"h": 265.4
},
"luminance": 0.07935
}Semantic roles & 50–950 ramp
primary
#2246B2
secondary
#C9B067
accent
#BF3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82