#2147B4#2147B4
#2147B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.178 H 265.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2147B4 |
|---|---|
| RGB | rgb(33, 71, 180) |
| HSL | hsl(224, 69%, 42%) |
| HSV | hsv(224, 82%, 71%) |
| CMYK | cmyk(81.7%, 60.6%, 0%, 29.4%) |
| CIE-LAB | lab(34.24, 27.96, -61.42) |
| CIE-LCH | lch(34.24, 67.48, 294.48°) |
| OKLab | oklab(44.35% -0.0155 -0.1776) |
| OKLCH | oklch(44.35% 0.178 265) |
| XYZ | xyz(11.1157, 8.1238, 44.1534) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.61
Blue Blue
#2242C7
ΔE00 3.32
Sapphire
#0F52BA
ΔE00 4.19
Sapphire (survey)
#2138AB
ΔE00 4.72
Blue (survey)
#0343DF
ΔE00 5.59
Cobalt (survey)
#1E488F
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2147B4 #B48E21
analogous
#2191B4 #2147B4 #4521B4
triadic
#2147B4 #B42147 #47B421
tetradic
#2147B4 #B42191 #B48E21 #21B445
square
#2147B4 #B42191 #B48E21 #21B445
split-complementary
#2147B4 #B44521 #91B421
monochromatic
#0E1E4D #183380 #2147B4 #3862DA #6B8BE4
Accessibility & contrast
On white
8.00
#2147B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2147B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2147B4
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2147B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2147B4 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2147b4; /* rgb */ color: rgb(33, 71, 180); /* oklch */ color: oklch(44.4% 0.178 265.0);
Tailwind
colors: {
custom: {
50: '#7679cb',
500: '#2147b4',
950: '#000000',
},
}SCSS
$custom: #2147b4; $custom-light: #7679cb; $custom-dark: #000000;
JSON
{
"hex": "#2147b4",
"rgb": {
"r": 33,
"g": 71,
"b": 180
},
"hsl": {
"h": 224.49,
"s": 69.014,
"l": 41.765
},
"oklch": {
"l": 0.44352,
"c": 0.17831,
"h": 265
},
"luminance": 0.08125
}Semantic roles & 50–950 ramp
primary
#2147B4
secondary
#CAB067
accent
#BE3CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82