#202045#202045

#202045 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.068 H 280.8°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#202045
RGBrgb(32, 32, 69)
HSLhsl(240, 37%, 20%)
HSVhsv(240, 54%, 27%)
CMYKcmyk(53.6%, 53.6%, 0%, 72.9%)
CIE-LABlab(14.23, 11.89, -23.37)
CIE-LCHlch(14.23, 26.22, 296.97°)
OKLaboklab(26.53% 0.0126 -0.0664)
OKLCHoklch(26.53% 0.068 280.8)
XYZxyz(2.1860, 1.7697, 5.8555)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202045 #454520
analogous
#203345 #202045 #332045
triadic
#202045 #452020 #204520
tetradic
#202045 #452033 #454520 #204533
square
#202045 #452033 #454520 #204533
split-complementary
#202045 #453320 #334520
monochromatic
#0A0A15 #0D0D1B #202045 #33336F #474799

Accessibility & contrast

On white

15.51
#202045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#202045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202045
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202045#FFFFFF#000000##FFFFFF
##2020451.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102546
Deuteranopia (green-blind)
#0D2344
Tritanopia (blue-blind)
#13282F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #202045;
/* rgb */ color: rgb(32, 32, 69);
/* oklch */ color: oklch(26.5% 0.068 280.8);
Tailwind
colors: {
  custom: {
    50: '#5e5b79',
    500: '#202045',
    950: '#000000',
  },
}
SCSS
$custom: #202045;
$custom-light: #5e5b79;
$custom-dark: #000000;
JSON
{
  "hex": "#202045",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 240,
    "s": 36.634,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26525,
    "c": 0.0676,
    "h": 280.8
  },
  "luminance": 0.0177
}

Semantic roles & 50–950 ramp

primary
#202045
secondary
#797948
accent
#CD5BCD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #202045

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

Preview Lab → · Contrast checker → · Palette generator →

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