#20248C#20248C

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

Color values

HEX#20248C
RGBrgb(32, 36, 140)
HSLhsl(238, 63%, 34%)
HSVhsv(238, 77%, 55%)
CMYKcmyk(77.1%, 74.3%, 0%, 45.1%)
CIE-LABlab(21.81, 35.67, -57.55)
CIE-LCHlch(21.81, 67.71, 301.80°)
OKLaboklab(34.09% 0.005 -0.1666)
OKLCHoklch(34.09% 0.167 271.7)
XYZxyz(5.9586, 3.4616, 25.1600)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20248C #8C8820
analogous
#205A8C #20248C #52208C
triadic
#20248C #8C2024 #248C20
tetradic
#20248C #8C205A #8C8820 #208C52
square
#20248C #8C205A #8C8820 #208C52
split-complementary
#20248C #8C5220 #5A8C20
monochromatic
#090A28 #15175A #20248C #2B31BE #5055D7

Accessibility & contrast

On white

12.41
#20248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#20248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20248C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20248C#FFFFFF#000000##FFFFFF
##20248C1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #20248c;
/* rgb */ color: rgb(32, 36, 140);
/* oklch */ color: oklch(34.1% 0.167 271.7);
Tailwind
colors: {
  custom: {
    50: '#6f60af',
    500: '#20248c',
    950: '#000000',
  },
}
SCSS
$custom: #20248c;
$custom-light: #6f60af;
$custom-dark: #000000;
JSON
{
  "hex": "#20248c",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 237.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34087,
    "c": 0.16665,
    "h": 271.7
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#20248C
secondary
#BAB64E
accent
#E042E6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #20248C

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

Preview Lab → · Contrast checker → · Palette generator →

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