#2148AD#2148AD
#2148AD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.168 H 264.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2148AD |
|---|---|
| RGB | rgb(33, 72, 173) |
| HSL | hsl(223, 68%, 40%) |
| HSV | hsv(223, 81%, 68%) |
| CMYK | cmyk(80.9%, 58.4%, 0%, 32.2%) |
| CIE-LAB | lab(33.93, 24.59, -57.77) |
| CIE-LCH | lch(33.93, 62.78, 293.06°) |
| OKLab | oklab(43.94% -0.0163 -0.1669) |
| OKLCH | oklch(43.94% 0.168 264.4) |
| XYZ | xyz(10.4847, 7.9739, 40.5136) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.83
Sapphire
#0F52BA
ΔE00 3.90
Blue Blue
#2242C7
ΔE00 4.45
Cobalt (survey)
#1E488F
ΔE00 4.54
Sapphire (survey)
#2138AB
ΔE00 5.17
Dusk Blue
#26538D
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2148AD #AD8621
analogous
#218EAD #2148AD #4021AD
triadic
#2148AD #AD2148 #48AD21
tetradic
#2148AD #AD218E #AD8621 #21AD40
square
#2148AD #AD218E #AD8621 #21AD40
split-complementary
#2148AD #AD4021 #8EAD21
monochromatic
#0D1D46 #17337A #2148AD #3361D8 #6689E2
Accessibility & contrast
On white
8.09
#2148AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2148AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2148AD
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2148AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2148AD | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2148ad; /* rgb */ color: rgb(33, 72, 173); /* oklch */ color: oklch(43.9% 0.168 264.4);
Tailwind
colors: {
custom: {
50: '#747ac6',
500: '#2148ad',
950: '#000000',
},
}SCSS
$custom: #2148ad; $custom-light: #747ac6; $custom-dark: #000000;
JSON
{
"hex": "#2148ad",
"rgb": {
"r": 33,
"g": 72,
"b": 173
},
"hsl": {
"h": 223.286,
"s": 67.961,
"l": 40.392
},
"oklch": {
"l": 0.4394,
"c": 0.16771,
"h": 264.4
},
"luminance": 0.07975
}Semantic roles & 50–950 ramp
primary
#2148AD
secondary
#C7AB62
accent
#BA3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82