#2158BD#2158BD

#2158BD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.170 H 261.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2158BD
RGBrgb(33, 88, 189)
HSLhsl(219, 70%, 44%)
HSVhsv(219, 83%, 74%)
CMYKcmyk(82.5%, 53.4%, 0%, 25.9%)
CIE-LABlab(39.54, 20.18, -58.08)
CIE-LCHlch(39.54, 61.49, 289.16°)
OKLaboklab(48.57% -0.0257 -0.1675)
OKLCHoklch(48.57% 0.17 261.3)
XYZxyz(13.2989, 10.9753, 49.5518)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2158BD #BD8621
analogous
#21A6BD #2158BD #3821BD
triadic
#2158BD #BD2158 #58BD21
tetradic
#2158BD #BD21A6 #BD8621 #21BD38
square
#2158BD #BD21A6 #BD8621 #21BD38
split-complementary
#2158BD #BD3821 #A6BD21
monochromatic
#0F2755 #184089 #2158BD #3E76DD #729BE6

Accessibility & contrast

On white

6.57
#2158BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2158BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2158BD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2158BD#FFFFFF#000000##FFFFFF
##2158BD1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0365C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2158bd;
/* rgb */ color: rgb(33, 88, 189);
/* oklch */ color: oklch(48.6% 0.170 261.3);
Tailwind
colors: {
  custom: {
    50: '#7786d2',
    500: '#2158bd',
    950: '#000000',
  },
}
SCSS
$custom: #2158bd;
$custom-light: #7786d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2158bd",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 218.846,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48566,
    "c": 0.16951,
    "h": 261.3
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#2158BD
secondary
#CDAB6D
accent
#AE3BED
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0A0B14
muted
#7C7C83

Preview Lab

Preview with #2158BD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2158BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva