#2141B2#2141B2
#2141B2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.183 H 266.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2141B2 |
|---|---|
| RGB | rgb(33, 65, 178) |
| HSL | hsl(227, 69%, 41%) |
| HSV | hsv(227, 81%, 70%) |
| CMYK | cmyk(81.5%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(32.52, 31.17, -63.05) |
| CIE-LCH | lch(32.52, 70.33, 296.31°) |
| OKLab | oklab(43.02% -0.0121 -0.1825) |
| OKLCH | oklch(43.02% 0.183 266.2) |
| XYZ | xyz(10.5506, 7.3170, 42.9671) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.80
Blue Blue
#2242C7
ΔE00 2.90
Cobalt
#0047AB
ΔE00 3.70
Blue (survey)
#0343DF
ΔE00 5.66
Ocean Blue
#4F42B5
ΔE00 5.78
Sapphire
#0F52BA
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2141B2 #B29221
analogous
#218AB2 #2141B2 #4A21B2
triadic
#2141B2 #B22141 #41B221
tetradic
#2141B2 #B2218A #B29221 #21B24A
square
#2141B2 #B2218A #B29221 #21B24A
split-complementary
#2141B2 #B24A21 #8AB221
monochromatic
#0E1B4B #172E7E #2141B2 #365ADA #6A85E3
Accessibility & contrast
On white
8.52
#2141B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2141B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2141B2
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2141B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2141B2 | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2141b2; /* rgb */ color: rgb(33, 65, 178); /* oklch */ color: oklch(43.0% 0.183 266.2);
Tailwind
colors: {
custom: {
50: '#7675ca',
500: '#2141b2',
950: '#000000',
},
}SCSS
$custom: #2141b2; $custom-light: #7675ca; $custom-dark: #000000;
JSON
{
"hex": "#2141b2",
"rgb": {
"r": 33,
"g": 65,
"b": 178
},
"hsl": {
"h": 226.759,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.43021,
"c": 0.18289,
"h": 266.2
},
"luminance": 0.07318
}Semantic roles & 50–950 ramp
primary
#2141B2
secondary
#C9B366
accent
#C53CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82