#2248B4#2248B4
#2248B4 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.177 H 265.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2248B4 |
|---|---|
| RGB | rgb(34, 72, 180) |
| HSL | hsl(224, 68%, 42%) |
| HSV | hsv(224, 81%, 71%) |
| CMYK | cmyk(81.1%, 60%, 0%, 29.4%) |
| CIE-LAB | lab(34.54, 27.39, -60.93) |
| CIE-LCH | lch(34.54, 66.80, 294.21°) |
| OKLab | oklab(44.58% -0.0154 -0.1762) |
| OKLCH | oklch(44.58% 0.177 265) |
| XYZ | xyz(11.2124, 8.2688, 44.1763) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.57
Blue Blue
#2242C7
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 3.91
Sapphire (survey)
#2138AB
ΔE00 5.02
Cobalt (survey)
#1E488F
ΔE00 5.56
Blue (survey)
#0343DF
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2248B4 #B48E22
analogous
#2291B4 #2248B4 #4522B4
triadic
#2248B4 #B42248 #48B422
tetradic
#2248B4 #B42291 #B48E22 #22B445
square
#2248B4 #B42291 #B48E22 #22B445
split-complementary
#2248B4 #B44522 #91B422
monochromatic
#0F1F4D #183381 #2248B4 #3A63DA #6D8CE3
Accessibility & contrast
On white
7.91
#2248B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2248B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2248B4
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2248B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2248B4 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2248b4; /* rgb */ color: rgb(34, 72, 180); /* oklch */ color: oklch(44.6% 0.177 265.0);
Tailwind
colors: {
custom: {
50: '#767acb',
500: '#2248b4',
950: '#000000',
},
}SCSS
$custom: #2248b4; $custom-light: #767acb; $custom-dark: #000000;
JSON
{
"hex": "#2248b4",
"rgb": {
"r": 34,
"g": 72,
"b": 180
},
"hsl": {
"h": 224.384,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.44584,
"c": 0.17685,
"h": 265
},
"luminance": 0.0827
}Semantic roles & 50–950 ramp
primary
#2248B4
secondary
#CAB068
accent
#BE3DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82