#2148B2#2148B2
#2148B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.174 H 264.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2148B2 |
|---|---|
| RGB | rgb(33, 72, 178) |
| HSL | hsl(224, 69%, 41%) |
| HSV | hsv(224, 81%, 70%) |
| CMYK | cmyk(81.5%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(34.34, 26.53, -60.07) |
| CIE-LCH | lch(34.34, 65.67, 293.83°) |
| OKLab | oklab(44.37% -0.0161 -0.1737) |
| OKLCH | oklch(44.37% 0.174 264.7) |
| XYZ | xyz(10.9776, 8.1711, 43.1095) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.28
Blue Blue
#2242C7
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 3.85
Sapphire (survey)
#2138AB
ΔE00 5.06
Cobalt (survey)
#1E488F
ΔE00 5.24
Blue (survey)
#0343DF
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2148B2 #B28B21
analogous
#2191B2 #2148B2 #4321B2
triadic
#2148B2 #B22148 #48B221
tetradic
#2148B2 #B22191 #B28B21 #21B243
square
#2148B2 #B22191 #B28B21 #21B243
split-complementary
#2148B2 #B24321 #91B221
monochromatic
#0E1E4B #17337E #2148B2 #3662DA #6A8BE3
Accessibility & contrast
On white
7.97
#2148B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2148B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2148B2
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2148B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2148B2 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 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: #2148b2; /* rgb */ color: rgb(33, 72, 178); /* oklch */ color: oklch(44.4% 0.174 264.7);
Tailwind
colors: {
custom: {
50: '#767aca',
500: '#2148b2',
950: '#000000',
},
}SCSS
$custom: #2148b2; $custom-light: #767aca; $custom-dark: #000000;
JSON
{
"hex": "#2148b2",
"rgb": {
"r": 33,
"g": 72,
"b": 178
},
"hsl": {
"h": 223.862,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.44373,
"c": 0.17443,
"h": 264.7
},
"luminance": 0.08172
}Semantic roles & 50–950 ramp
primary
#2148B2
secondary
#C9AE66
accent
#BC3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82