#2246AF#2246AF
#2246AF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.173 H 265.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2246AF |
|---|---|
| RGB | rgb(34, 70, 175) |
| HSL | hsl(225, 67%, 41%) |
| HSV | hsv(225, 81%, 69%) |
| CMYK | cmyk(80.6%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(33.59, 26.80, -59.50) |
| CIE-LCH | lch(33.59, 65.26, 294.24°) |
| OKLab | oklab(43.75% -0.0143 -0.172) |
| OKLCH | oklch(43.75% 0.173 265.3) |
| XYZ | xyz(10.5850, 7.8143, 41.4996) |
| Luminance | 0.0782 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.37
Blue Blue
#2242C7
ΔE00 3.78
Sapphire (survey)
#2138AB
ΔE00 4.40
Sapphire
#0F52BA
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 5.14
Blue (survey)
#0343DF
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2246AF #AF8B22
analogous
#228CAF #2246AF #4422AF
triadic
#2246AF #AF2246 #46AF22
tetradic
#2246AF #AF228C #AF8B22 #22AF44
square
#2246AF #AF228C #AF8B22 #22AF44
split-complementary
#2246AF #AF4422 #8CAF22
monochromatic
#0E1D49 #18327C #2246AF #3660D8 #6988E2
Accessibility & contrast
On white
8.19
#2246AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2246AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2246AF
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2246AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2246AF | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2246af; /* rgb */ color: rgb(34, 70, 175); /* oklch */ color: oklch(43.8% 0.173 265.3);
Tailwind
colors: {
custom: {
50: '#7579c8',
500: '#2246af',
950: '#000000',
},
}SCSS
$custom: #2246af; $custom-light: #7579c8; $custom-dark: #000000;
JSON
{
"hex": "#2246af",
"rgb": {
"r": 34,
"g": 70,
"b": 175
},
"hsl": {
"h": 224.681,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.4375,
"c": 0.17261,
"h": 265.3
},
"luminance": 0.07816
}Semantic roles & 50–950 ramp
primary
#2246AF
secondary
#C8AF65
accent
#BE3DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82