#2147A8#2147A8
#2147A8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.162 H 264.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2147A8 |
|---|---|
| RGB | rgb(33, 71, 168) |
| HSL | hsl(223, 67%, 39%) |
| HSV | hsv(223, 80%, 66%) |
| CMYK | cmyk(80.4%, 57.7%, 0%, 34.1%) |
| CIE-LAB | lab(33.26, 23.31, -55.88) |
| CIE-LCH | lch(33.26, 60.54, 292.64°) |
| OKLab | oklab(43.31% -0.0159 -0.1614) |
| OKLCH | oklch(43.31% 0.162 264.4) |
| XYZ | xyz(9.9458, 7.6558, 37.9917) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.70
Cobalt (survey)
#1E488F
ΔE00 3.96
Sapphire
#0F52BA
ΔE00 4.35
Blue Blue
#2242C7
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.05
Dusk Blue
#26538D
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2147A8 #A88221
analogous
#218BA8 #2147A8 #3F21A8
triadic
#2147A8 #A82147 #47A821
tetradic
#2147A8 #A8218B #A88221 #21A83F
square
#2147A8 #A8218B #A88221 #21A83F
split-complementary
#2147A8 #A83F21 #8BA821
monochromatic
#0D1C42 #173175 #2147A8 #305FD6 #6386E0
Accessibility & contrast
On white
8.30
#2147A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2147A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2147A8
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2147A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2147A8 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2147a8; /* rgb */ color: rgb(33, 71, 168); /* oklch */ color: oklch(43.3% 0.162 264.4);
Tailwind
colors: {
custom: {
50: '#7379c3',
500: '#2147a8',
950: '#000000',
},
}SCSS
$custom: #2147a8; $custom-light: #7379c3; $custom-dark: #000000;
JSON
{
"hex": "#2147a8",
"rgb": {
"r": 33,
"g": 71,
"b": 168
},
"hsl": {
"h": 223.111,
"s": 67.164,
"l": 39.412
},
"oklch": {
"l": 0.43309,
"c": 0.16217,
"h": 264.4
},
"luminance": 0.07657
}Semantic roles & 50–950 ramp
primary
#2147A8
secondary
#C5A95F
accent
#BA3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81