#20245D#20245D

#20245D is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.100 H 275.3°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#20245D
RGBrgb(32, 36, 93)
HSLhsl(236, 49%, 25%)
HSVhsv(236, 66%, 36%)
CMYKcmyk(65.6%, 61.3%, 0%, 63.5%)
CIE-LABlab(17.27, 18.08, -34.76)
CIE-LCHlch(17.27, 39.18, 297.48°)
OKLaboklab(29.4% 0.0093 -0.0999)
OKLCHoklch(29.4% 0.1 275.3)
XYZxyz(3.2017, 2.3589, 10.6404)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20245D #5D5920
analogous
#20435D #20245D #3B205D
triadic
#20245D #5D2024 #245D20
tetradic
#20245D #5D2043 #5D5920 #205D3B
square
#20245D #5D2043 #5D5920 #205D3B
split-complementary
#20245D #5D3B20 #435D20
monochromatic
#080917 #10122F #20245D #30368B #3F47B8

Accessibility & contrast

On white

14.27
#20245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#20245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20245D
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20245D#FFFFFF#000000##FFFFFF
##20245D1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #20245d;
/* rgb */ color: rgb(32, 36, 93);
/* oklch */ color: oklch(29.4% 0.100 275.3);
Tailwind
colors: {
  custom: {
    50: '#635e8b',
    500: '#20245d',
    950: '#000000',
  },
}
SCSS
$custom: #20245d;
$custom-light: #635e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#20245d",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 236.066,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29396,
    "c": 0.10029,
    "h": 275.3
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#20245D
secondary
#918D47
accent
#CF4FD8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #20245D

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

Preview Lab → · Contrast checker → · Palette generator →

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