#20248D#20248D

#20248D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.168 H 271.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#20248D
RGBrgb(32, 36, 141)
HSLhsl(238, 63%, 34%)
HSVhsv(238, 77%, 55%)
CMYKcmyk(77.3%, 74.5%, 0%, 44.7%)
CIE-LABlab(21.91, 36.03, -57.99)
CIE-LCHlch(21.91, 68.27, 301.85°)
OKLaboklab(34.2% 0.0049 -0.1679)
OKLCHoklch(34.2% 0.168 271.7)
XYZxyz(6.0326, 3.4913, 25.5501)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20248D #8D8920
analogous
#205B8D #20248D #53208D
triadic
#20248D #8D2024 #248D20
tetradic
#20248D #8D205B #8D8920 #208D53
square
#20248D #8D205B #8D8920 #208D53
split-complementary
#20248D #8D5320 #5B8D20
monochromatic
#090B29 #15175B #20248D #2B31BF #5055D7

Accessibility & contrast

On white

12.36
#20248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#20248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20248D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20248D#FFFFFF#000000##FFFFFF
##20248D1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #20248d;
/* rgb */ color: rgb(32, 36, 141);
/* oklch */ color: oklch(34.2% 0.168 271.7);
Tailwind
colors: {
  custom: {
    50: '#6f60af',
    500: '#20248d',
    950: '#000000',
  },
}
SCSS
$custom: #20248d;
$custom-light: #6f60af;
$custom-dark: #000000;
JSON
{
  "hex": "#20248d",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 237.798,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34196,
    "c": 0.16794,
    "h": 271.7
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#20248D
secondary
#BAB74E
accent
#E042E6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #20248D

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

Preview Lab → · Contrast checker → · Palette generator →

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