#2137BC#2137BC

#2137BC is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.3% C 0.207 H 267.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2137BC
RGBrgb(33, 55, 188)
HSLhsl(231, 70%, 43%)
HSVhsv(231, 82%, 74%)
CMYKcmyk(82.4%, 70.7%, 0%, 26.3%)
CIE-LABlab(31.08, 41.23, -71.33)
CIE-LCHlch(31.08, 82.39, 300.03°)
OKLaboklab(42.26% -0.0081 -0.2067)
OKLCHoklch(42.26% 0.207 267.8)
XYZxyz(11.0673, 6.6852, 48.2743)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2137BC #BCA621
analogous
#2184BC #2137BC #5821BC
triadic
#2137BC #BC2137 #37BC21
tetradic
#2137BC #BC2184 #BCA621 #21BC58
square
#2137BC #BC2184 #BCA621 #21BC58
split-complementary
#2137BC #BC5821 #84BC21
monochromatic
#0F1954 #182888 #2137BC #3D54DD #7182E6

Accessibility & contrast

On white

8.98
#2137BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2137BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2137BC
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2137BC#FFFFFF#000000##FFFFFF
##2137BC1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0042BA
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2137bc;
/* rgb */ color: rgb(33, 55, 188);
/* oklch */ color: oklch(42.3% 0.207 267.8);
Tailwind
colors: {
  custom: {
    50: '#7a6ed1',
    500: '#2137bc',
    950: '#000000',
  },
}
SCSS
$custom: #2137bc;
$custom-light: #7a6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2137bc",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 231.484,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42257,
    "c": 0.20689,
    "h": 267.8
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#2137BC
secondary
#CDBF6C
accent
#D43BED
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2137BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2137BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva