#202048#202048

#202048 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.073 H 280.3°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#202048
RGBrgb(32, 32, 72)
HSLhsl(240, 38%, 20%)
HSVhsv(240, 56%, 28%)
CMYKcmyk(55.6%, 55.6%, 0%, 71.8%)
CIE-LABlab(14.45, 13.00, -25.10)
CIE-LCHlch(14.45, 28.27, 297.39°)
OKLaboklab(26.76% 0.013 -0.0715)
OKLCHoklch(26.76% 0.073 280.3)
XYZxyz(2.2815, 1.8079, 6.3584)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202048 #484820
analogous
#203448 #202048 #342048
triadic
#202048 #482020 #204820
tetradic
#202048 #482034 #484820 #204834
square
#202048 #482034 #484820 #204834
split-complementary
#202048 #483420 #344820
monochromatic
#090915 #0D0D1E #202048 #333372 #46469D

Accessibility & contrast

On white

15.42
#202048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#202048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202048
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202048#FFFFFF#000000##FFFFFF
##2020481.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2649
Deuteranopia (green-blind)
#0A2347
Tritanopia (blue-blind)
#112930
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #202048;
/* rgb */ color: rgb(32, 32, 72);
/* oklch */ color: oklch(26.8% 0.073 280.3);
Tailwind
colors: {
  custom: {
    50: '#5f5b7b',
    500: '#202048',
    950: '#000000',
  },
}
SCSS
$custom: #202048;
$custom-light: #5f5b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#202048",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 240,
    "s": 38.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26758,
    "c": 0.07266,
    "h": 280.3
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#202048
secondary
#7C7C48
accent
#CE59CE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#050409
muted
#79797B

Preview Lab

Preview with #202048

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

Preview Lab → · Contrast checker → · Palette generator →

#202048 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva