#20244B#20244B

#20244B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.071 H 276.3°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#20244B
RGBrgb(32, 36, 75)
HSLhsl(234, 40%, 21%)
HSVhsv(234, 57%, 29%)
CMYKcmyk(57.3%, 52%, 0%, 70.6%)
CIE-LABlab(15.88, 11.19, -24.86)
CIE-LCHlch(15.88, 27.26, 294.23°)
OKLaboklab(27.92% 0.0079 -0.0707)
OKLCHoklch(27.92% 0.071 276.3)
XYZxyz(2.4961, 2.0767, 6.9246)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20244B #4B4720
analogous
#20394B #20244B #31204B
triadic
#20244B #4B2024 #244B20
tetradic
#20244B #4B2039 #4B4720 #204B31
square
#20244B #4B2039 #4B4720 #204B31
split-complementary
#20244B #4B3120 #394B20
monochromatic
#090A15 #0E0F20 #20244B #323976 #454DA1

Accessibility & contrast

On white

14.84
#20244B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#20244B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20244B
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20244B#FFFFFF#000000##FFFFFF
##20244B1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13294C
Deuteranopia (green-blind)
#0E264A
Tritanopia (blue-blind)
#0D2C33
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #20244b;
/* rgb */ color: rgb(32, 36, 75);
/* oklch */ color: oklch(27.9% 0.071 276.3);
Tailwind
colors: {
  custom: {
    50: '#5f5e7d',
    500: '#20244b',
    950: '#000000',
  },
}
SCSS
$custom: #20244b;
$custom-light: #5f5e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#20244b",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 75
  },
  "hsl": {
    "h": 234.419,
    "s": 40.187,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27915,
    "c": 0.07117,
    "h": 276.3
  },
  "luminance": 0.02077
}

Semantic roles & 50–950 ramp

primary
#20244B
secondary
#7F7A47
accent
#C558D0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#05040A
muted
#79797C

Preview Lab

Preview with #20244B

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

Preview Lab → · Contrast checker → · Palette generator →

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