#202C77#202C77

#202C77 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.128 H 270.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#202C77
RGBrgb(32, 44, 119)
HSLhsl(232, 58%, 30%)
HSVhsv(232, 73%, 47%)
CMYKcmyk(73.1%, 63%, 0%, 53.3%)
CIE-LABlab(21.73, 22.52, -44.43)
CIE-LCHlch(21.73, 49.82, 296.88°)
OKLaboklab(33.4% 0.0017 -0.1282)
OKLCHoklch(33.4% 0.128 270.8)
XYZxyz(4.8250, 3.4399, 17.8589)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C77 #776B20
analogous
#205877 #202C77 #402077
triadic
#202C77 #77202C #2C7720
tetradic
#202C77 #772058 #776B20 #207740
square
#202C77 #772058 #776B20 #207740
split-complementary
#202C77 #774020 #587720
monochromatic
#060918 #131A47 #202C77 #2D3EA7 #4557CD

Accessibility & contrast

On white

12.44
#202C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#202C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C77
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C77#FFFFFF#000000##FFFFFF
##202C771.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202c77;
/* rgb */ color: rgb(32, 44, 119);
/* oklch */ color: oklch(33.4% 0.128 270.8);
Tailwind
colors: {
  custom: {
    50: '#68659f',
    500: '#202c77',
    950: '#000000',
  },
}
SCSS
$custom: #202c77;
$custom-light: #68659f;
$custom-dark: #000000;
JSON
{
  "hex": "#202c77",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 231.724,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33404,
    "c": 0.1282,
    "h": 270.8
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#202C77
secondary
#AA9D48
accent
#CC47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #202C77

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

Preview Lab → · Contrast checker → · Palette generator →

#202C77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva