#20247D#20247D

#20247D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.147 H 272.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#20247D
RGBrgb(32, 36, 125)
HSLhsl(237, 59%, 31%)
HSVhsv(237, 74%, 49%)
CMYKcmyk(74.4%, 71.2%, 0%, 51%)
CIE-LABlab(20.24, 30.23, -50.69)
CIE-LCHlch(20.24, 59.02, 300.81°)
OKLaboklab(32.49% 0.0072 -0.1466)
OKLCHoklch(32.49% 0.147 272.8)
XYZxyz(4.9270, 3.0490, 19.7269)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20247D #7D7920
analogous
#20527D #20247D #4A207D
triadic
#20247D #7D2024 #247D20
tetradic
#20247D #7D2052 #7D7920 #207D4A
square
#20247D #7D2052 #7D7920 #207D4A
split-complementary
#20247D #7D4A20 #527D20
monochromatic
#07081C #14164C #20247D #2C32AE #474DD0

Accessibility & contrast

On white

13.05
#20247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#20247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20247D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20247D#FFFFFF#000000##FFFFFF
##20247D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #20247d;
/* rgb */ color: rgb(32, 36, 125);
/* oklch */ color: oklch(32.5% 0.147 272.8);
Tailwind
colors: {
  custom: {
    50: '#6b5fa4',
    500: '#20247d',
    950: '#000000',
  },
}
SCSS
$custom: #20247d;
$custom-light: #6b5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#20247d",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 237.419,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3249,
    "c": 0.14675,
    "h": 272.8
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#20247D
secondary
#B0AC49
accent
#DC45E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #20247D

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

Preview Lab → · Contrast checker → · Palette generator →

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