#202977#202977

#202977 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.132 H 271.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#202977
RGBrgb(32, 41, 119)
HSLhsl(234, 58%, 30%)
HSVhsv(234, 73%, 47%)
CMYKcmyk(73.1%, 65.5%, 0%, 53.3%)
CIE-LABlab(20.92, 24.61, -45.75)
CIE-LCHlch(20.92, 51.95, 298.27°)
OKLaboklab(32.81% 0.0042 -0.1321)
OKLCHoklch(32.81% 0.132 271.8)
XYZxyz(4.7173, 3.2244, 17.8230)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202977 #776E20
analogous
#205577 #202977 #432077
triadic
#202977 #772029 #297720
tetradic
#202977 #772055 #776E20 #207743
square
#202977 #772055 #776E20 #207743
split-complementary
#202977 #774320 #557720
monochromatic
#060818 #131847 #202977 #2D3AA7 #4553CD

Accessibility & contrast

On white

12.77
#202977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#202977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202977
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202977#FFFFFF#000000##FFFFFF
##2029771.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202977;
/* rgb */ color: rgb(32, 41, 119);
/* oklch */ color: oklch(32.8% 0.132 271.8);
Tailwind
colors: {
  custom: {
    50: '#69629f',
    500: '#202977',
    950: '#000000',
  },
}
SCSS
$custom: #202977;
$custom-light: #69629f;
$custom-dark: #000000;
JSON
{
  "hex": "#202977",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 233.793,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3281,
    "c": 0.13215,
    "h": 271.8
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#202977
secondary
#AAA048
accent
#D147E1
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #202977

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

Preview Lab → · Contrast checker → · Palette generator →

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