#2037A0#2037A0

#2037A0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.171 H 267.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2037A0
RGBrgb(32, 55, 160)
HSLhsl(229, 67%, 38%)
HSVhsv(229, 80%, 63%)
CMYKcmyk(80%, 65.6%, 0%, 37.3%)
CIE-LABlab(28.32, 30.84, -59.13)
CIE-LCHlch(28.32, 66.69, 297.55°)
OKLaboklab(39.41% -0.0069 -0.1711)
OKLCHoklch(39.41% 0.171 267.7)
XYZxyz(8.3048, 5.5766, 33.8896)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2037A0 #A08920
analogous
#2077A0 #2037A0 #4920A0
triadic
#2037A0 #A02037 #37A020
tetradic
#2037A0 #A02077 #A08920 #20A049
square
#2037A0 #A02077 #A08920 #20A049
split-complementary
#2037A0 #A04920 #77A020
monochromatic
#0C143A #16256D #2037A0 #2A49D3 #5C73DE

Accessibility & contrast

On white

9.93
#2037A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2037A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2037A0
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2037A0#FFFFFF#000000##FFFFFF
##2037A01.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2037a0;
/* rgb */ color: rgb(32, 55, 160);
/* oklch */ color: oklch(39.4% 0.171 267.7);
Tailwind
colors: {
  custom: {
    50: '#726dbd',
    500: '#2037a0',
    950: '#000000',
  },
}
SCSS
$custom: #2037a0;
$custom-light: #726dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2037a0",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 229.219,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39413,
    "c": 0.17128,
    "h": 267.7
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#2037A0
secondary
#C3B059
accent
#CB3EEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2037A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2037A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva