#2148B4#2148B4
#2148B4 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.177 H 264.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2148B4 |
|---|---|
| RGB | rgb(33, 72, 180) |
| HSL | hsl(224, 69%, 42%) |
| HSV | hsv(224, 82%, 71%) |
| CMYK | cmyk(81.7%, 60%, 0%, 29.4%) |
| CIE-LAB | lab(34.50, 27.30, -60.99) |
| CIE-LCH | lch(34.50, 66.82, 294.12°) |
| OKLab | oklab(44.55% -0.0161 -0.1764) |
| OKLCH | oklch(44.55% 0.177 264.8) |
| XYZ | xyz(11.1799, 8.2520, 44.1747) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.50
Blue Blue
#2242C7
ΔE00 3.54
Sapphire
#0F52BA
ΔE00 3.87
Sapphire (survey)
#2138AB
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 5.52
Blue (survey)
#0343DF
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2148B4 #B48D21
analogous
#2192B4 #2148B4 #4421B4
triadic
#2148B4 #B42148 #48B421
tetradic
#2148B4 #B42192 #B48D21 #21B444
square
#2148B4 #B42192 #B48D21 #21B444
split-complementary
#2148B4 #B44421 #92B421
monochromatic
#0E1F4D #183380 #2148B4 #3863DA #6B8BE4
Accessibility & contrast
On white
7.92
#2148B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2148B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2148B4
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2148B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2148B4 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 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: #2148b4; /* rgb */ color: rgb(33, 72, 180); /* oklch */ color: oklch(44.5% 0.177 264.8);
Tailwind
colors: {
custom: {
50: '#767acb',
500: '#2148b4',
950: '#000000',
},
}SCSS
$custom: #2148b4; $custom-light: #767acb; $custom-dark: #000000;
JSON
{
"hex": "#2148b4",
"rgb": {
"r": 33,
"g": 72,
"b": 180
},
"hsl": {
"h": 224.082,
"s": 69.014,
"l": 41.765
},
"oklch": {
"l": 0.44548,
"c": 0.17709,
"h": 264.8
},
"luminance": 0.08253
}Semantic roles & 50–950 ramp
primary
#2148B4
secondary
#CAB067
accent
#BD3CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82