#2158AC#2158AC
#2158AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.147 H 259.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2158AC |
|---|---|
| RGB | rgb(33, 88, 172) |
| HSL | hsl(216, 68%, 40%) |
| HSV | hsv(216, 81%, 67%) |
| CMYK | cmyk(80.8%, 48.8%, 0%, 32.5%) |
| CIE-LAB | lab(38.34, 13.51, -50.02) |
| CIE-LCH | lch(38.34, 51.81, 285.11°) |
| OKLab | oklab(47.27% -0.0279 -0.1438) |
| OKLCH | oklch(47.27% 0.147 259) |
| XYZ | xyz(11.5606, 10.2800, 40.3967) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.77
Denim
#1560BD
ΔE00 3.37
Denim Blue
#3B5B92
ΔE00 3.93
Dusk Blue
#26538D
ΔE00 3.95
Light Navy Blue
#2E5A88
ΔE00 4.36
Denim (survey)
#3B638C
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2158AC #AC7521
analogous
#219DAC #2158AC #2F21AC
triadic
#2158AC #AC2158 #58AC21
tetradic
#2158AC #AC219D #AC7521 #21AC2F
square
#2158AC #AC219D #AC7521 #21AC2F
split-complementary
#2158AC #AC2F21 #9DAC21
monochromatic
#0D2345 #173E79 #2158AC #3274D8 #6697E2
Accessibility & contrast
On white
6.87
#2158AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2158AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2158AC
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2158AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2158AC | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2158ac; /* rgb */ color: rgb(33, 88, 172); /* oklch */ color: oklch(47.3% 0.147 259.0);
Tailwind
colors: {
custom: {
50: '#7386c5',
500: '#2158ac',
950: '#000000',
},
}SCSS
$custom: #2158ac; $custom-light: #7386c5; $custom-dark: #000000;
JSON
{
"hex": "#2158ac",
"rgb": {
"r": 33,
"g": 88,
"b": 172
},
"hsl": {
"h": 216.259,
"s": 67.805,
"l": 40.196
},
"oklch": {
"l": 0.47269,
"c": 0.14651,
"h": 259
},
"luminance": 0.10281
}Semantic roles & 50–950 ramp
primary
#2158AC
secondary
#C79F62
accent
#A63DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82