#20337C#20337C

#20337C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.126 H 268.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#20337C
RGBrgb(32, 51, 124)
HSLhsl(228, 59%, 31%)
HSVhsv(228, 74%, 49%)
CMYKcmyk(74.2%, 58.9%, 0%, 51.4%)
CIE-LABlab(24.09, 19.59, -43.75)
CIE-LCHlch(24.09, 47.94, 294.12°)
OKLaboklab(35.3% -0.004 -0.1261)
OKLCHoklch(35.3% 0.126 268.2)
XYZxyz(5.4163, 4.1294, 19.5765)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20337C #7C6920
analogous
#20617C #20337C #3B207C
triadic
#20337C #7C2033 #337C20
tetradic
#20337C #7C2061 #7C6920 #207C3B
square
#20337C #7C2061 #7C6920 #207C3B
split-complementary
#20337C #7C3B20 #617C20
monochromatic
#070B1B #131F4B #20337C #2D47AD #4763CF

Accessibility & contrast

On white

11.50
#20337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#20337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20337C
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20337C#FFFFFF#000000##FFFFFF
##20337C1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20337c;
/* rgb */ color: rgb(32, 51, 124);
/* oklch */ color: oklch(35.3% 0.126 268.2);
Tailwind
colors: {
  custom: {
    50: '#696aa3',
    500: '#20337c',
    950: '#000000',
  },
}
SCSS
$custom: #20337c;
$custom-light: #696aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#20337c",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 227.609,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35302,
    "c": 0.12616,
    "h": 268.2
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#20337C
secondary
#AF9A49
accent
#C246E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20337C

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

Preview Lab → · Contrast checker → · Palette generator →

#20337C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva