#202777#202777

#202777 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.135 H 272.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#202777
RGBrgb(32, 39, 119)
HSLhsl(235, 58%, 30%)
HSVhsv(235, 73%, 47%)
CMYKcmyk(73.1%, 67.2%, 0%, 53.3%)
CIE-LABlab(20.40, 25.97, -46.60)
CIE-LCHlch(20.40, 53.35, 299.13°)
OKLaboklab(32.43% 0.0057 -0.1346)
OKLCHoklch(32.43% 0.135 272.4)
XYZxyz(4.6498, 3.0896, 17.8005)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202777 #777020
analogous
#205377 #202777 #442077
triadic
#202777 #772027 #277720
tetradic
#202777 #772053 #777020 #207744
square
#202777 #772053 #777020 #207744
split-complementary
#202777 #774420 #537720
monochromatic
#060818 #131747 #202777 #2D37A7 #4550CD

Accessibility & contrast

On white

12.98
#202777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#202777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202777
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202777#FFFFFF#000000##FFFFFF
##2027771.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202777;
/* rgb */ color: rgb(32, 39, 119);
/* oklch */ color: oklch(32.4% 0.135 272.4);
Tailwind
colors: {
  custom: {
    50: '#69619f',
    500: '#202777',
    950: '#000000',
  },
}
SCSS
$custom: #202777;
$custom-light: #69619f;
$custom-dark: #000000;
JSON
{
  "hex": "#202777",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 235.172,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32427,
    "c": 0.13472,
    "h": 272.4
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#202777
secondary
#AAA248
accent
#D447E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #202777

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

Preview Lab → · Contrast checker → · Palette generator →

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