#2137A0#2137A0

#2137A0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.171 H 268.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2137A0
RGBrgb(33, 55, 160)
HSLhsl(230, 66%, 38%)
HSVhsv(230, 79%, 63%)
CMYKcmyk(79.4%, 65.6%, 0%, 37.3%)
CIE-LABlab(28.36, 30.94, -59.06)
CIE-LCHlch(28.36, 66.67, 297.65°)
OKLaboklab(39.46% -0.0061 -0.1709)
OKLCHoklch(39.46% 0.171 268)
XYZxyz(8.3363, 5.5928, 33.8911)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2137A0 #A08A21
analogous
#2177A0 #2137A0 #4A21A0
triadic
#2137A0 #A02137 #37A021
tetradic
#2137A0 #A02177 #A08A21 #21A04A
square
#2137A0 #A02177 #A08A21 #21A04A
split-complementary
#2137A0 #A04A21 #77A021
monochromatic
#0C143B #17266D #2137A0 #2B48D3 #5E74DE

Accessibility & contrast

On white

9.91
#2137A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2137A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2137A0
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2137A0#FFFFFF#000000##FFFFFF
##2137A01.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2137a0;
/* rgb */ color: rgb(33, 55, 160);
/* oklch */ color: oklch(39.5% 0.171 268.0);
Tailwind
colors: {
  custom: {
    50: '#726dbd',
    500: '#2137a0',
    950: '#000000',
  },
}
SCSS
$custom: #2137a0;
$custom-light: #726dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2137a0",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 229.606,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.17102,
    "h": 268
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#2137A0
secondary
#C2B05B
accent
#CB3FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2137A0

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

Preview Lab → · Contrast checker → · Palette generator →

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