#202059#202059

#202059 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.100 H 277.9°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#202059
RGBrgb(32, 32, 89)
HSLhsl(240, 47%, 24%)
HSVhsv(240, 64%, 35%)
CMYKcmyk(64%, 64%, 0%, 65.1%)
CIE-LABlab(15.81, 19.41, -34.47)
CIE-LCHlch(15.81, 39.56, 299.39°)
OKLaboklab(28.2% 0.0137 -0.099)
OKLCHoklch(28.2% 0.1 277.9)
XYZxyz(2.9148, 2.0612, 9.6935)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202059 #595920
analogous
#203C59 #202059 #3C2059
triadic
#202059 #592020 #205920
tetradic
#202059 #59203C #595920 #20593C
square
#202059 #59203C #595920 #20593C
split-complementary
#202059 #593C20 #3C5920
monochromatic
#080817 #10102C #202059 #303086 #4040B3

Accessibility & contrast

On white

14.87
#202059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#202059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202059
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202059#FFFFFF#000000##FFFFFF
##2020591.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #202059;
/* rgb */ color: rgb(32, 32, 89);
/* oklch */ color: oklch(28.2% 0.100 277.9);
Tailwind
colors: {
  custom: {
    50: '#625b88',
    500: '#202059',
    950: '#000000',
  },
}
SCSS
$custom: #202059;
$custom-light: #625b88;
$custom-dark: #000000;
JSON
{
  "hex": "#202059",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 89
  },
  "hsl": {
    "h": 240,
    "s": 47.107,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28204,
    "c": 0.09997,
    "h": 277.9
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#202059
secondary
#8D8D47
accent
#D751D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #202059

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

Preview Lab → · Contrast checker → · Palette generator →

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