#20247B#20247B

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

Color values

HEX#20247B
RGBrgb(32, 36, 123)
HSLhsl(237, 59%, 30%)
HSVhsv(237, 74%, 48%)
CMYKcmyk(74%, 70.7%, 0%, 51.8%)
CIE-LABlab(20.04, 29.49, -49.75)
CIE-LCHlch(20.04, 57.83, 300.66°)
OKLaboklab(32.28% 0.0074 -0.1438)
OKLCHoklch(32.28% 0.144 273)
XYZxyz(4.8005, 2.9984, 19.0608)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20247B #7B7720
analogous
#20517B #20247B #4A207B
triadic
#20247B #7B2024 #247B20
tetradic
#20247B #7B2051 #7B7720 #207B4A
square
#20247B #7B2051 #7B7720 #207B4A
split-complementary
#20247B #7B4A20 #517B20
monochromatic
#07081A #13164A #20247B #2D32AC #464CCF

Accessibility & contrast

On white

13.13
#20247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#20247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20247B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20247B#FFFFFF#000000##FFFFFF
##20247B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #20247b;
/* rgb */ color: rgb(32, 36, 123);
/* oklch */ color: oklch(32.3% 0.144 273.0);
Tailwind
colors: {
  custom: {
    50: '#6a5fa2',
    500: '#20247b',
    950: '#000000',
  },
}
SCSS
$custom: #20247b;
$custom-light: #6a5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#20247b",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 237.363,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32284,
    "c": 0.14401,
    "h": 273
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#20247B
secondary
#AEAA49
accent
#DB46E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #20247B

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

Preview Lab → · Contrast checker → · Palette generator →

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