#202046#202046

#202046 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.069 H 280.6°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#202046
RGBrgb(32, 32, 70)
HSLhsl(240, 37%, 20%)
HSVhsv(240, 54%, 27%)
CMYKcmyk(54.3%, 54.3%, 0%, 72.5%)
CIE-LABlab(14.30, 12.26, -23.95)
CIE-LCHlch(14.30, 26.91, 297.11°)
OKLaboklab(26.6% 0.0127 -0.0681)
OKLCHoklch(26.6% 0.069 280.6)
XYZxyz(2.2173, 1.7822, 6.0203)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202046 #464620
analogous
#203346 #202046 #332046
triadic
#202046 #462020 #204620
tetradic
#202046 #462033 #464620 #204633
square
#202046 #462033 #464620 #204633
split-complementary
#202046 #463320 #334620
monochromatic
#0A0A15 #0D0D1C #202046 #333370 #46469A

Accessibility & contrast

On white

15.48
#202046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202046
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202046#FFFFFF#000000##FFFFFF
##2020461.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2647
Deuteranopia (green-blind)
#0C2345
Tritanopia (blue-blind)
#12282F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #202046;
/* rgb */ color: rgb(32, 32, 70);
/* oklch */ color: oklch(26.6% 0.069 280.6);
Tailwind
colors: {
  custom: {
    50: '#5f5b7a',
    500: '#202046',
    950: '#000000',
  },
}
SCSS
$custom: #202046;
$custom-light: #5f5b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#202046",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 240,
    "s": 37.255,
    "l": 20
  },
  "oklch": {
    "l": 0.26602,
    "c": 0.06929,
    "h": 280.6
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#202046
secondary
#7A7A48
accent
#CD5BCD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #202046

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

Preview Lab → · Contrast checker → · Palette generator →

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