#2147B3#2147B3
#2147B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.177 H 265.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2147B3 |
|---|---|
| RGB | rgb(33, 71, 179) |
| HSL | hsl(224, 69%, 42%) |
| HSV | hsv(224, 82%, 70%) |
| CMYK | cmyk(81.6%, 60.3%, 0%, 29.8%) |
| CIE-LAB | lab(34.16, 27.58, -60.96) |
| CIE-LCH | lch(34.16, 66.91, 294.34°) |
| OKLab | oklab(44.26% -0.0155 -0.1763) |
| OKLCH | oklch(44.26% 0.177 265) |
| XYZ | xyz(11.0142, 8.0832, 43.6188) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.51
Blue Blue
#2242C7
ΔE00 3.45
Sapphire
#0F52BA
ΔE00 4.18
Sapphire (survey)
#2138AB
ΔE00 4.72
Cobalt (survey)
#1E488F
ΔE00 5.50
Blue (survey)
#0343DF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2147B3 #B38D21
analogous
#2190B3 #2147B3 #4421B3
triadic
#2147B3 #B32147 #47B321
tetradic
#2147B3 #B32190 #B38D21 #21B344
square
#2147B3 #B32190 #B38D21 #21B344
split-complementary
#2147B3 #B34421 #90B321
monochromatic
#0E1E4C #17337F #2147B3 #3762DA #6B8AE4
Accessibility & contrast
On white
8.03
#2147B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2147B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2147B3
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2147B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2147B3 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2147b3; /* rgb */ color: rgb(33, 71, 179); /* oklch */ color: oklch(44.3% 0.177 265.0);
Tailwind
colors: {
custom: {
50: '#7679cb',
500: '#2147b3',
950: '#000000',
},
}SCSS
$custom: #2147b3; $custom-light: #7679cb; $custom-dark: #000000;
JSON
{
"hex": "#2147b3",
"rgb": {
"r": 33,
"g": 71,
"b": 179
},
"hsl": {
"h": 224.384,
"s": 68.868,
"l": 41.569
},
"oklch": {
"l": 0.44264,
"c": 0.17698,
"h": 265
},
"luminance": 0.08084
}Semantic roles & 50–950 ramp
primary
#2147B3
secondary
#CAB066
accent
#BE3CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82