#2147B2#2147B2
#2147B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.176 H 264.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2147B2 |
|---|---|
| RGB | rgb(33, 71, 178) |
| HSL | hsl(224, 69%, 41%) |
| HSV | hsv(224, 81%, 70%) |
| CMYK | cmyk(81.5%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(34.07, 27.19, -60.50) |
| CIE-LCH | lch(34.07, 66.33, 294.20°) |
| OKLab | oklab(44.18% -0.0155 -0.175) |
| OKLCH | oklch(44.18% 0.176 264.9) |
| XYZ | xyz(10.9135, 8.0429, 43.0881) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.40
Blue Blue
#2242C7
ΔE00 3.59
Sapphire
#0F52BA
ΔE00 4.18
Sapphire (survey)
#2138AB
ΔE00 4.72
Cobalt (survey)
#1E488F
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2147B2 #B28C21
analogous
#2190B2 #2147B2 #4421B2
triadic
#2147B2 #B22147 #47B221
tetradic
#2147B2 #B22190 #B28C21 #21B244
square
#2147B2 #B22190 #B28C21 #21B244
split-complementary
#2147B2 #B24421 #90B221
monochromatic
#0E1E4B #17327E #2147B2 #3661DA #6A8AE3
Accessibility & contrast
On white
8.05
#2147B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2147B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2147B2
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2147B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2147B2 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2147b2; /* rgb */ color: rgb(33, 71, 178); /* oklch */ color: oklch(44.2% 0.176 264.9);
Tailwind
colors: {
custom: {
50: '#7679ca',
500: '#2147b2',
950: '#000000',
},
}SCSS
$custom: #2147b2; $custom-light: #7679ca; $custom-dark: #000000;
JSON
{
"hex": "#2147b2",
"rgb": {
"r": 33,
"g": 71,
"b": 178
},
"hsl": {
"h": 224.276,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.44175,
"c": 0.17565,
"h": 264.9
},
"luminance": 0.08044
}Semantic roles & 50–950 ramp
primary
#2147B2
secondary
#C9AF66
accent
#BE3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82