#2248B5#2248B5
#2248B5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.178 H 265.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2248B5 |
|---|---|
| RGB | rgb(34, 72, 181) |
| HSL | hsl(224, 68%, 42%) |
| HSV | hsv(224, 81%, 71%) |
| CMYK | cmyk(81.2%, 60.2%, 0%, 29%) |
| CIE-LAB | lab(34.62, 27.77, -61.38) |
| CIE-LCH | lch(34.62, 67.38, 294.35°) |
| OKLab | oklab(44.67% -0.0153 -0.1775) |
| OKLCH | oklch(44.67% 0.178 265.1) |
| XYZ | xyz(11.3146, 8.3097, 44.7147) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.68
Blue Blue
#2242C7
ΔE00 3.37
Sapphire
#0F52BA
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 5.03
Blue (survey)
#0343DF
ΔE00 5.53
Cobalt (survey)
#1E488F
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2248B5 #B58F22
analogous
#2291B5 #2248B5 #4622B5
triadic
#2248B5 #B52248 #48B522
tetradic
#2248B5 #B52291 #B58F22 #22B546
square
#2248B5 #B52291 #B58F22 #22B546
split-complementary
#2248B5 #B54622 #91B522
monochromatic
#0F1F4E #183481 #2248B5 #3A63DA #6E8CE4
Accessibility & contrast
On white
7.89
#2248B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2248B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2248B5
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2248B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2248B5 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2248b5; /* rgb */ color: rgb(34, 72, 181); /* oklch */ color: oklch(44.7% 0.178 265.1);
Tailwind
colors: {
custom: {
50: '#777acc',
500: '#2248b5',
950: '#000000',
},
}SCSS
$custom: #2248b5; $custom-light: #777acc; $custom-dark: #000000;
JSON
{
"hex": "#2248b5",
"rgb": {
"r": 34,
"g": 72,
"b": 181
},
"hsl": {
"h": 224.49,
"s": 68.372,
"l": 42.157
},
"oklch": {
"l": 0.44672,
"c": 0.17818,
"h": 265.1
},
"luminance": 0.08311
}Semantic roles & 50–950 ramp
primary
#2248B5
secondary
#CAB169
accent
#BE3DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82