#2148AC#2148AC
#2148AC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.166 H 264.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2148AC |
|---|---|
| RGB | rgb(33, 72, 172) |
| HSL | hsl(223, 68%, 40%) |
| HSV | hsv(223, 81%, 67%) |
| CMYK | cmyk(80.8%, 58.1%, 0%, 32.5%) |
| CIE-LAB | lab(33.85, 24.20, -57.30) |
| CIE-LCH | lch(33.85, 62.20, 292.89°) |
| OKLab | oklab(43.85% -0.0164 -0.1655) |
| OKLCH | oklch(43.85% 0.166 264.3) |
| XYZ | xyz(10.3883, 7.9354, 40.0059) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.77
Sapphire
#0F52BA
ΔE00 3.92
Cobalt (survey)
#1E488F
ΔE00 4.40
Blue Blue
#2242C7
ΔE00 4.59
Sapphire (survey)
#2138AB
ΔE00 5.21
Dusk Blue
#26538D
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2148AC #AC8521
analogous
#218EAC #2148AC #3F21AC
triadic
#2148AC #AC2148 #48AC21
tetradic
#2148AC #AC218E #AC8521 #21AC3F
square
#2148AC #AC218E #AC8521 #21AC3F
split-complementary
#2148AC #AC3F21 #8EAC21
monochromatic
#0D1D45 #173379 #2148AC #3261D8 #6689E2
Accessibility & contrast
On white
8.12
#2148AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2148AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2148AC
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2148AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2148AC | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2148ac; /* rgb */ color: rgb(33, 72, 172); /* oklch */ color: oklch(43.9% 0.166 264.3);
Tailwind
colors: {
custom: {
50: '#747ac6',
500: '#2148ac',
950: '#000000',
},
}SCSS
$custom: #2148ac; $custom-light: #747ac6; $custom-dark: #000000;
JSON
{
"hex": "#2148ac",
"rgb": {
"r": 33,
"g": 72,
"b": 172
},
"hsl": {
"h": 223.165,
"s": 67.805,
"l": 40.196
},
"oklch": {
"l": 0.43854,
"c": 0.16636,
"h": 264.3
},
"luminance": 0.07937
}Semantic roles & 50–950 ramp
primary
#2148AC
secondary
#C7AB62
accent
#BA3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82