#2137A5#2137A5

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

Color values

HEX#2137A5
RGBrgb(33, 55, 165)
HSLhsl(230, 67%, 39%)
HSVhsv(230, 80%, 65%)
CMYKcmyk(80%, 66.7%, 0%, 35.3%)
CIE-LABlab(28.83, 32.82, -61.31)
CIE-LCHlch(28.83, 69.55, 298.16°)
OKLaboklab(39.94% -0.0063 -0.1775)
OKLCHoklch(39.94% 0.178 268)
XYZxyz(8.7826, 5.7713, 36.2411)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2137A5 #A58F21
analogous
#2179A5 #2137A5 #4D21A5
triadic
#2137A5 #A52137 #37A521
tetradic
#2137A5 #A52179 #A58F21 #21A54D
square
#2137A5 #A52179 #A58F21 #21A54D
split-complementary
#2137A5 #A54D21 #79A521
monochromatic
#0D153F #172672 #2137A5 #2E4AD5 #6176DF

Accessibility & contrast

On white

9.75
#2137A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2137A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2137A5
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2137A5#FFFFFF#000000##FFFFFF
##2137A51.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2137a5;
/* rgb */ color: rgb(33, 55, 165);
/* oklch */ color: oklch(39.9% 0.178 268.0);
Tailwind
colors: {
  custom: {
    50: '#746ec1',
    500: '#2137a5',
    950: '#000000',
  },
}
SCSS
$custom: #2137a5;
$custom-light: #746ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2137a5",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 230,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.17763,
    "h": 268
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2137A5

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

Preview Lab → · Contrast checker → · Palette generator →

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