#2248B2#2248B2
#2248B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.174 H 264.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2248B2 |
|---|---|
| RGB | rgb(34, 72, 178) |
| HSL | hsl(224, 68%, 42%) |
| HSV | hsv(224, 81%, 70%) |
| CMYK | cmyk(80.9%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(34.37, 26.62, -60.01) |
| CIE-LCH | lch(34.37, 65.65, 293.92°) |
| OKLab | oklab(44.41% -0.0154 -0.1735) |
| OKLCH | oklch(44.41% 0.174 264.9) |
| XYZ | xyz(11.0101, 8.1879, 43.1110) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.36
Blue Blue
#2242C7
ΔE00 3.75
Sapphire
#0F52BA
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 5.03
Cobalt (survey)
#1E488F
ΔE00 5.28
Blue (survey)
#0343DF
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2248B2 #B28C22
analogous
#2290B2 #2248B2 #4422B2
triadic
#2248B2 #B22248 #48B222
tetradic
#2248B2 #B22290 #B28C22 #22B244
square
#2248B2 #B22290 #B28C22 #22B244
split-complementary
#2248B2 #B24422 #90B222
monochromatic
#0E1E4B #18337F #2248B2 #3863D9 #6C8BE3
Accessibility & contrast
On white
7.96
#2248B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2248B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2248B2
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2248B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2248B2 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2248b2; /* rgb */ color: rgb(34, 72, 178); /* oklch */ color: oklch(44.4% 0.174 264.9);
Tailwind
colors: {
custom: {
50: '#767aca',
500: '#2248b2',
950: '#000000',
},
}SCSS
$custom: #2248b2; $custom-light: #767aca; $custom-dark: #000000;
JSON
{
"hex": "#2248b2",
"rgb": {
"r": 34,
"g": 72,
"b": 178
},
"hsl": {
"h": 224.167,
"s": 67.925,
"l": 41.569
},
"oklch": {
"l": 0.44409,
"c": 0.17418,
"h": 264.9
},
"luminance": 0.08189
}Semantic roles & 50–950 ramp
primary
#2248B2
secondary
#C9AF67
accent
#BD3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82