#20399A#20399A

#20399A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.161 H 267.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#20399A
RGBrgb(32, 57, 154)
HSLhsl(228, 66%, 36%)
HSVhsv(228, 79%, 60%)
CMYKcmyk(79.2%, 63%, 0%, 39.6%)
CIE-LABlab(28.29, 27.21, -55.53)
CIE-LCHlch(28.29, 61.84, 296.11°)
OKLaboklab(39.22% -0.008 -0.1606)
OKLCHoklch(39.22% 0.161 267.2)
XYZxyz(7.8895, 5.5655, 31.2240)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20399A #9A8120
analogous
#20769A #20399A #44209A
triadic
#20399A #9A2039 #399A20
tetradic
#20399A #9A2076 #9A8120 #209A44
square
#20399A #9A2076 #9A8120 #209A44
split-complementary
#20399A #9A4420 #769A20
monochromatic
#0B1335 #152667 #20399A #2B4CCD #5873DC

Accessibility & contrast

On white

9.94
#20399A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#20399A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20399A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20399A#FFFFFF#000000##FFFFFF
##20399A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #20399a;
/* rgb */ color: rgb(32, 57, 154);
/* oklch */ color: oklch(39.2% 0.161 267.2);
Tailwind
colors: {
  custom: {
    50: '#706fb9',
    500: '#20399a',
    950: '#000000',
  },
}
SCSS
$custom: #20399a;
$custom-light: #706fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#20399a",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 227.705,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.16078,
    "h": 267.2
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#20399A
secondary
#C0AA56
accent
#C63FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #20399A

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

Preview Lab → · Contrast checker → · Palette generator →

#20399A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva