#202077#202077

#202077 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.143 H 274.3°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#202077
RGBrgb(32, 32, 119)
HSLhsl(240, 58%, 30%)
HSVhsv(240, 73%, 47%)
CMYKcmyk(73.1%, 73.1%, 0%, 53.3%)
CIE-LABlab(18.68, 30.61, -49.43)
CIE-LCHlch(18.68, 58.14, 301.77°)
OKLaboklab(31.18% 0.0106 -0.1429)
OKLCHoklch(31.18% 0.143 274.3)
XYZxyz(4.4408, 2.6716, 17.7308)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202077 #777720
analogous
#204C77 #202077 #4C2077
triadic
#202077 #772020 #207720
tetradic
#202077 #77204C #777720 #20774C
square
#202077 #77204C #777720 #20774C
split-complementary
#202077 #774C20 #4C7720
monochromatic
#060618 #131347 #202077 #2D2DA7 #4545CD

Accessibility & contrast

On white

13.69
#202077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#202077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202077
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202077#FFFFFF#000000##FFFFFF
##2020771.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #202077;
/* rgb */ color: rgb(32, 32, 119);
/* oklch */ color: oklch(31.2% 0.143 274.3);
Tailwind
colors: {
  custom: {
    50: '#6a5c9f',
    500: '#202077',
    950: '#000000',
  },
}
SCSS
$custom: #202077;
$custom-light: #6a5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#202077",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 119
  },
  "hsl": {
    "h": 240,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31179,
    "c": 0.14327,
    "h": 274.3
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#202077
secondary
#AAAA48
accent
#E147E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #202077

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

Preview Lab → · Contrast checker → · Palette generator →

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