#20399F#20399F

#20399F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.168 H 267.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#20399F
RGBrgb(32, 57, 159)
HSLhsl(228, 66%, 37%)
HSVhsv(228, 80%, 62%)
CMYKcmyk(79.9%, 64.2%, 0%, 37.6%)
CIE-LABlab(28.74, 29.13, -57.84)
CIE-LCHlch(28.74, 64.76, 296.73°)
OKLaboklab(39.69% -0.0081 -0.1673)
OKLCHoklch(39.69% 0.168 267.2)
XYZxyz(8.3146, 5.7356, 33.4630)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20399F #9F8620
analogous
#20789F #20399F #47209F
triadic
#20399F #9F2039 #399F20
tetradic
#20399F #9F2078 #9F8620 #209F47
square
#20399F #9F2078 #9F8620 #209F47
split-complementary
#20399F #9F4720 #789F20
monochromatic
#0B1439 #16276C #20399F #2A4BD2 #5B75DE

Accessibility & contrast

On white

9.78
#20399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#20399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20399F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20399F#FFFFFF#000000##FFFFFF
##20399F1.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)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #20399f;
/* rgb */ color: rgb(32, 57, 159);
/* oklch */ color: oklch(39.7% 0.168 267.2);
Tailwind
colors: {
  custom: {
    50: '#726fbc',
    500: '#20399f',
    950: '#000000',
  },
}
SCSS
$custom: #20399f;
$custom-light: #726fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#20399f",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 228.189,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39692,
    "c": 0.16754,
    "h": 267.2
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#20399F
secondary
#C2AD59
accent
#C83EE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #20399F

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

Preview Lab → · Contrast checker → · Palette generator →

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