#2246B5#2246B5
#2246B5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.181 H 265.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2246B5 |
|---|---|
| RGB | rgb(34, 70, 181) |
| HSL | hsl(225, 68%, 42%) |
| HSV | hsv(225, 81%, 71%) |
| CMYK | cmyk(81.2%, 61.3%, 0%, 29%) |
| CIE-LAB | lab(34.10, 29.10, -62.24) |
| CIE-LCH | lch(34.10, 68.70, 295.06°) |
| OKLab | oklab(44.28% -0.0142 -0.18) |
| OKLCH | oklch(44.28% 0.181 265.5) |
| XYZ | xyz(11.1874, 8.0553, 44.6723) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.94
Blue Blue
#2242C7
ΔE00 2.96
Sapphire (survey)
#2138AB
ΔE00 4.38
Sapphire
#0F52BA
ΔE00 4.57
Blue (survey)
#0343DF
ΔE00 5.35
Cobalt (survey)
#1E488F
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2246B5 #B59122
analogous
#2290B5 #2246B5 #4722B5
triadic
#2246B5 #B52246 #46B522
tetradic
#2246B5 #B52290 #B59122 #22B547
square
#2246B5 #B52290 #B59122 #22B547
split-complementary
#2246B5 #B54722 #90B522
monochromatic
#0F1E4E #183281 #2246B5 #3A61DA #6E8BE4
Accessibility & contrast
On white
8.04
#2246B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2246B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2246B5
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2246B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2246B5 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2246b5; /* rgb */ color: rgb(34, 70, 181); /* oklch */ color: oklch(44.3% 0.181 265.5);
Tailwind
colors: {
custom: {
50: '#7779cc',
500: '#2246b5',
950: '#000000',
},
}SCSS
$custom: #2246b5; $custom-light: #7779cc; $custom-dark: #000000;
JSON
{
"hex": "#2246b5",
"rgb": {
"r": 34,
"g": 70,
"b": 181
},
"hsl": {
"h": 225.306,
"s": 68.372,
"l": 42.157
},
"oklch": {
"l": 0.44283,
"c": 0.1806,
"h": 265.5
},
"luminance": 0.08057
}Semantic roles & 50–950 ramp
primary
#2246B5
secondary
#CAB269
accent
#C03DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82