#2248B3#2248B3
#2248B3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.176 H 265.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2248B3 |
|---|---|
| RGB | rgb(34, 72, 179) |
| HSL | hsl(224, 68%, 42%) |
| HSV | hsv(224, 81%, 70%) |
| CMYK | cmyk(81%, 59.8%, 0%, 29.8%) |
| CIE-LAB | lab(34.45, 27.01, -60.47) |
| CIE-LCH | lch(34.45, 66.23, 294.06°) |
| OKLab | oklab(44.5% -0.0154 -0.1748) |
| OKLCH | oklch(44.5% 0.176 265) |
| XYZ | xyz(11.1109, 8.2282, 43.6417) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.46
Blue Blue
#2242C7
ΔE00 3.62
Sapphire
#0F52BA
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 5.02
Cobalt (survey)
#1E488F
ΔE00 5.42
Blue (survey)
#0343DF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2248B3 #B38D22
analogous
#2291B3 #2248B3 #4522B3
triadic
#2248B3 #B32248 #48B322
tetradic
#2248B3 #B32291 #B38D22 #22B345
square
#2248B3 #B32291 #B38D22 #22B345
split-complementary
#2248B3 #B34522 #91B322
monochromatic
#0E1F4C #183380 #2248B3 #3963D9 #6C8BE3
Accessibility & contrast
On white
7.94
#2248B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2248B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2248B3
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2248B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2248B3 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2248b3; /* rgb */ color: rgb(34, 72, 179); /* oklch */ color: oklch(44.5% 0.176 265.0);
Tailwind
colors: {
custom: {
50: '#767acb',
500: '#2248b3',
950: '#000000',
},
}SCSS
$custom: #2248b3; $custom-light: #767acb; $custom-dark: #000000;
JSON
{
"hex": "#2248b3",
"rgb": {
"r": 34,
"g": 72,
"b": 179
},
"hsl": {
"h": 224.276,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.44496,
"c": 0.17552,
"h": 265
},
"luminance": 0.08229
}Semantic roles & 50–950 ramp
primary
#2248B3
secondary
#C9B068
accent
#BD3DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82