#20247A#20247A

#20247A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.143 H 273.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#20247A
RGBrgb(32, 36, 122)
HSLhsl(237, 58%, 30%)
HSVhsv(237, 74%, 48%)
CMYKcmyk(73.8%, 70.5%, 0%, 52.2%)
CIE-LABlab(19.94, 29.12, -49.27)
CIE-LCHlch(19.94, 57.23, 300.58°)
OKLaboklab(32.18% 0.0076 -0.1424)
OKLCHoklch(32.18% 0.143 273)
XYZxyz(4.7382, 2.9735, 18.7328)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20247A #7A7620
analogous
#20517A #20247A #49207A
triadic
#20247A #7A2024 #247A20
tetradic
#20247A #7A2051 #7A7620 #207A49
square
#20247A #7A2051 #7A7620 #207A49
split-complementary
#20247A #7A4920 #517A20
monochromatic
#070719 #13164A #20247A #2D32AA #464CCE

Accessibility & contrast

On white

13.17
#20247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#20247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20247A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20247A#FFFFFF#000000##FFFFFF
##20247A1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #20247a;
/* rgb */ color: rgb(32, 36, 122);
/* oklch */ color: oklch(32.2% 0.143 273.0);
Tailwind
colors: {
  custom: {
    50: '#6a5fa1',
    500: '#20247a',
    950: '#000000',
  },
}
SCSS
$custom: #20247a;
$custom-light: #6a5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#20247a",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 237.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32181,
    "c": 0.14263,
    "h": 273
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#20247A
secondary
#ADA949
accent
#DB46E2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #20247A

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

Preview Lab → · Contrast checker → · Palette generator →

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