#20247C#20247C

#20247C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.145 H 272.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#20247C
RGBrgb(32, 36, 124)
HSLhsl(237, 59%, 31%)
HSVhsv(237, 74%, 49%)
CMYKcmyk(74.2%, 71%, 0%, 51.4%)
CIE-LABlab(20.14, 29.86, -50.22)
CIE-LCHlch(20.14, 58.42, 300.73°)
OKLaboklab(32.39% 0.0073 -0.1452)
OKLCHoklch(32.39% 0.145 272.9)
XYZxyz(4.8634, 3.0236, 19.3922)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20247C #7C7820
analogous
#20527C #20247C #4A207C
triadic
#20247C #7C2024 #247C20
tetradic
#20247C #7C2052 #7C7820 #207C4A
square
#20247C #7C2052 #7C7820 #207C4A
split-complementary
#20247C #7C4A20 #527C20
monochromatic
#07081B #13164B #20247C #2D32AD #474DCF

Accessibility & contrast

On white

13.09
#20247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20247C
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20247C#FFFFFF#000000##FFFFFF
##20247C1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #20247c;
/* rgb */ color: rgb(32, 36, 124);
/* oklch */ color: oklch(32.4% 0.145 272.9);
Tailwind
colors: {
  custom: {
    50: '#6a5fa3',
    500: '#20247c',
    950: '#000000',
  },
}
SCSS
$custom: #20247c;
$custom-light: #6a5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#20247c",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 237.391,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32387,
    "c": 0.14537,
    "h": 272.9
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20247C

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

Preview Lab → · Contrast checker → · Palette generator →

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