#2137A6#2137A6

#2137A6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.179 H 268.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2137A6
RGBrgb(33, 55, 166)
HSLhsl(230, 67%, 39%)
HSVhsv(230, 80%, 65%)
CMYKcmyk(80.1%, 66.9%, 0%, 34.9%)
CIE-LABlab(28.92, 33.20, -61.76)
CIE-LCHlch(28.92, 70.12, 298.26°)
OKLaboklab(40.04% -0.0064 -0.1788)
OKLCHoklch(40.04% 0.179 268)
XYZxyz(8.8739, 5.8079, 36.7223)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2137A6 #A69021
analogous
#217AA6 #2137A6 #4E21A6
triadic
#2137A6 #A62137 #37A621
tetradic
#2137A6 #A6217A #A69021 #21A64E
square
#2137A6 #A6217A #A69021 #21A64E
split-complementary
#2137A6 #A64E21 #7AA621
monochromatic
#0D1540 #172673 #2137A6 #2F4AD6 #6277E0

Accessibility & contrast

On white

9.71
#2137A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2137A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2137A6
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2137A6#FFFFFF#000000##FFFFFF
##2137A61.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2137a6;
/* rgb */ color: rgb(33, 55, 166);
/* oklch */ color: oklch(40.0% 0.179 268.0);
Tailwind
colors: {
  custom: {
    50: '#746ec1',
    500: '#2137a6',
    950: '#000000',
  },
}
SCSS
$custom: #2137a6;
$custom-light: #746ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2137a6",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 230.075,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40039,
    "c": 0.17894,
    "h": 268
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#2137A6
secondary
#C5B45E
accent
#CD3EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2137A6

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

Preview Lab → · Contrast checker → · Palette generator →

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