#2137A4#2137A4

#2137A4 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.176 H 268.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2137A4
RGBrgb(33, 55, 164)
HSLhsl(230, 66%, 39%)
HSVhsv(230, 80%, 64%)
CMYKcmyk(79.9%, 66.5%, 0%, 35.7%)
CIE-LABlab(28.73, 32.45, -60.87)
CIE-LCHlch(28.73, 68.97, 298.06°)
OKLaboklab(39.84% -0.0062 -0.1762)
OKLCHoklch(39.84% 0.176 268)
XYZxyz(8.6919, 5.7350, 35.7636)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2137A4 #A48E21
analogous
#2178A4 #2137A4 #4C21A4
triadic
#2137A4 #A42137 #37A421
tetradic
#2137A4 #A42178 #A48E21 #21A44C
square
#2137A4 #A42178 #A48E21 #21A44C
split-complementary
#2137A4 #A44C21 #78A421
monochromatic
#0C153E #172671 #2137A4 #2D49D5 #6076DF

Accessibility & contrast

On white

9.78
#2137A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2137A4
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2137A4#FFFFFF#000000##FFFFFF
##2137A41.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2137a4;
/* rgb */ color: rgb(33, 55, 164);
/* oklch */ color: oklch(39.8% 0.176 268.0);
Tailwind
colors: {
  custom: {
    50: '#736dc0',
    500: '#2137a4',
    950: '#000000',
  },
}
SCSS
$custom: #2137a4;
$custom-light: #736dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2137a4",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 229.924,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39844,
    "c": 0.17631,
    "h": 268
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#2137A4
secondary
#C4B35D
accent
#CD3EE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2137A4

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

Preview Lab → · Contrast checker → · Palette generator →

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