#2148AB#2148AB
#2148AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.165 H 264.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2148AB |
|---|---|
| RGB | rgb(33, 72, 171) |
| HSL | hsl(223, 68%, 40%) |
| HSV | hsv(223, 81%, 67%) |
| CMYK | cmyk(80.7%, 57.9%, 0%, 32.9%) |
| CIE-LAB | lab(33.77, 23.81, -56.84) |
| CIE-LCH | lch(33.77, 61.62, 292.73°) |
| OKLab | oklab(43.77% -0.0164 -0.1642) |
| OKLCH | oklch(43.77% 0.165 264.3) |
| XYZ | xyz(10.2926, 7.8971, 39.5020) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.71
Sapphire
#0F52BA
ΔE00 3.95
Cobalt (survey)
#1E488F
ΔE00 4.25
Blue Blue
#2242C7
ΔE00 4.73
Sapphire (survey)
#2138AB
ΔE00 5.25
Dusk Blue
#26538D
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2148AB #AB8421
analogous
#218DAB #2148AB #3F21AB
triadic
#2148AB #AB2148 #48AB21
tetradic
#2148AB #AB218D #AB8421 #21AB3F
square
#2148AB #AB218D #AB8421 #21AB3F
split-complementary
#2148AB #AB3F21 #8DAB21
monochromatic
#0D1D44 #173278 #2148AB #3261D7 #6588E1
Accessibility & contrast
On white
8.14
#2148AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2148AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2148AB
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2148AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2148AB | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2148ab; /* rgb */ color: rgb(33, 72, 171); /* oklch */ color: oklch(43.8% 0.165 264.3);
Tailwind
colors: {
custom: {
50: '#747ac5',
500: '#2148ab',
950: '#000000',
},
}SCSS
$custom: #2148ab; $custom-light: #747ac5; $custom-dark: #000000;
JSON
{
"hex": "#2148ab",
"rgb": {
"r": 33,
"g": 72,
"b": 171
},
"hsl": {
"h": 223.043,
"s": 67.647,
"l": 40
},
"oklch": {
"l": 0.43769,
"c": 0.165,
"h": 264.3
},
"luminance": 0.07898
}Semantic roles & 50–950 ramp
primary
#2148AB
secondary
#C7AA61
accent
#BA3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82