#2137A9#2137A9

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

Color values

HEX#2137A9
RGBrgb(33, 55, 169)
HSLhsl(230, 67%, 40%)
HSVhsv(230, 80%, 66%)
CMYKcmyk(80.5%, 67.5%, 0%, 33.7%)
CIE-LABlab(29.21, 34.31, -63.10)
CIE-LCHlch(29.21, 71.83, 298.54°)
OKLaboklab(40.34% -0.0065 -0.1827)
OKLCHoklch(40.34% 0.183 268)
XYZxyz(9.1523, 5.9192, 38.1886)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2137A9 #A99321
analogous
#217BA9 #2137A9 #4F21A9
triadic
#2137A9 #A92137 #37A921
tetradic
#2137A9 #A9217B #A99321 #21A94F
square
#2137A9 #A9217B #A99321 #21A94F
split-complementary
#2137A9 #A94F21 #7BA921
monochromatic
#0D1643 #172676 #2137A9 #314BD7 #6478E1

Accessibility & contrast

On white

9.62
#2137A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2137A9
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2137A9#FFFFFF#000000##FFFFFF
##2137A91.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2137a9;
/* rgb */ color: rgb(33, 55, 169);
/* oklch */ color: oklch(40.3% 0.183 268.0);
Tailwind
colors: {
  custom: {
    50: '#756ec4',
    500: '#2137a9',
    950: '#000000',
  },
}
SCSS
$custom: #2137a9;
$custom-light: #756ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2137a9",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 230.294,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.18285,
    "h": 268
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2137A9

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

Preview Lab → · Contrast checker → · Palette generator →

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