#20248E#20248E

#20248E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.169 H 271.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#20248E
RGBrgb(32, 36, 142)
HSLhsl(238, 63%, 34%)
HSVhsv(238, 77%, 56%)
CMYKcmyk(77.5%, 74.6%, 0%, 44.3%)
CIE-LABlab(22.02, 36.38, -58.44)
CIE-LCHlch(22.02, 68.84, 301.91°)
OKLaboklab(34.31% 0.0047 -0.1692)
OKLCHoklch(34.31% 0.169 271.6)
XYZxyz(6.1074, 3.5212, 25.9437)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20248E #8E8A20
analogous
#205B8E #20248E #53208E
triadic
#20248E #8E2024 #248E20
tetradic
#20248E #8E205B #8E8A20 #208E53
square
#20248E #8E205B #8E8A20 #208E53
split-complementary
#20248E #8E5320 #5B8E20
monochromatic
#090B2A #15175C #20248E #2B31C0 #5156D8

Accessibility & contrast

On white

12.32
#20248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20248E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20248E#FFFFFF#000000##FFFFFF
##20248E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #20248e;
/* rgb */ color: rgb(32, 36, 142);
/* oklch */ color: oklch(34.3% 0.169 271.6);
Tailwind
colors: {
  custom: {
    50: '#6f60b0',
    500: '#20248e',
    950: '#000000',
  },
}
SCSS
$custom: #20248e;
$custom-light: #6f60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20248e",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 237.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34305,
    "c": 0.16922,
    "h": 271.6
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#20248E
secondary
#BBB74F
accent
#E042E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #20248E

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

Preview Lab → · Contrast checker → · Palette generator →

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