#2137A8#2137A8

#2137A8 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.182 H 268.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2137A8
RGBrgb(33, 55, 168)
HSLhsl(230, 67%, 39%)
HSVhsv(230, 80%, 66%)
CMYKcmyk(80.4%, 67.3%, 0%, 34.1%)
CIE-LABlab(29.11, 33.94, -62.66)
CIE-LCHlch(29.11, 71.26, 298.45°)
OKLaboklab(40.24% -0.0065 -0.1814)
OKLCHoklch(40.24% 0.182 268)
XYZxyz(9.0588, 5.8818, 37.6961)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2137A8 #A89221
analogous
#217BA8 #2137A8 #4F21A8
triadic
#2137A8 #A82137 #37A821
tetradic
#2137A8 #A8217B #A89221 #21A84F
square
#2137A8 #A8217B #A89221 #21A84F
split-complementary
#2137A8 #A84F21 #7BA821
monochromatic
#0D1642 #172675 #2137A8 #304BD6 #6377E0

Accessibility & contrast

On white

9.65
#2137A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2137A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2137A8
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2137A8#FFFFFF#000000##FFFFFF
##2137A81.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2137a8;
/* rgb */ color: rgb(33, 55, 168);
/* oklch */ color: oklch(40.2% 0.182 268.0);
Tailwind
colors: {
  custom: {
    50: '#746ec3',
    500: '#2137a8',
    950: '#000000',
  },
}
SCSS
$custom: #2137a8;
$custom-light: #746ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2137a8",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 230.222,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.18155,
    "h": 268
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#2137A8
secondary
#C5B55F
accent
#CE3EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2137A8

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

Preview Lab → · Contrast checker → · Palette generator →

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