#2148A1#2148A1
#2148A1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.151 H 263.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2148A1 |
|---|---|
| RGB | rgb(33, 72, 161) |
| HSL | hsl(222, 66%, 38%) |
| HSV | hsv(222, 80%, 63%) |
| CMYK | cmyk(79.5%, 55.3%, 0%, 36.9%) |
| CIE-LAB | lab(32.98, 19.88, -52.12) |
| CIE-LCH | lch(32.98, 55.78, 290.88°) |
| OKLab | oklab(42.93% -0.0171 -0.1503) |
| OKLCH | oklch(42.93% 0.151 263.5) |
| XYZ | xyz(9.3753, 7.5302, 34.6707) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.78
Cobalt (survey)
#1E488F
ΔE00 2.81
Sapphire
#0F52BA
ΔE00 4.46
Dusk Blue
#26538D
ΔE00 5.21
Darkish Blue
#014182
ΔE00 5.43
Sapphire (survey)
#2138AB
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2148A1 #A17A21
analogous
#2188A1 #2148A1 #3A21A1
triadic
#2148A1 #A12148 #48A121
tetradic
#2148A1 #A12188 #A17A21 #21A13A
square
#2148A1 #A12188 #A17A21 #21A13A
split-complementary
#2148A1 #A13A21 #88A121
monochromatic
#0C1B3B #17316E #2148A1 #2C5FD4 #5E85DE
Accessibility & contrast
On white
8.38
#2148A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2148A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2148A1
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2148A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2148A1 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2148a1; /* rgb */ color: rgb(33, 72, 161); /* oklch */ color: oklch(42.9% 0.151 263.5);
Tailwind
colors: {
custom: {
50: '#717abd',
500: '#2148a1',
950: '#000000',
},
}SCSS
$custom: #2148a1; $custom-light: #717abd; $custom-dark: #000000;
JSON
{
"hex": "#2148a1",
"rgb": {
"r": 33,
"g": 72,
"b": 161
},
"hsl": {
"h": 221.719,
"s": 65.979,
"l": 38.039
},
"oklch": {
"l": 0.42933,
"c": 0.15129,
"h": 263.5
},
"luminance": 0.07531
}Semantic roles & 50–950 ramp
primary
#2148A1
secondary
#C3A35B
accent
#B53FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81