#202B77#202B77

#202B77 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.130 H 271.1°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#202B77
RGBrgb(32, 43, 119)
HSLhsl(232, 58%, 30%)
HSVhsv(232, 73%, 47%)
CMYKcmyk(73.1%, 63.9%, 0%, 53.3%)
CIE-LABlab(21.45, 23.22, -44.88)
CIE-LCHlch(21.45, 50.53, 297.36°)
OKLaboklab(33.2% 0.0026 -0.1295)
OKLCHoklch(33.2% 0.13 271.1)
XYZxyz(4.7882, 3.3663, 17.8466)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B77 #776C20
analogous
#205777 #202B77 #412077
triadic
#202B77 #77202B #2B7720
tetradic
#202B77 #772057 #776C20 #207741
square
#202B77 #772057 #776C20 #207741
split-complementary
#202B77 #774120 #577720
monochromatic
#060918 #131A47 #202B77 #2D3CA7 #4556CD

Accessibility & contrast

On white

12.55
#202B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#202B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B77
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B77#FFFFFF#000000##FFFFFF
##202B771.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202b77;
/* rgb */ color: rgb(32, 43, 119);
/* oklch */ color: oklch(33.2% 0.130 271.1);
Tailwind
colors: {
  custom: {
    50: '#69649f',
    500: '#202b77',
    950: '#000000',
  },
}
SCSS
$custom: #202b77;
$custom-light: #69649f;
$custom-dark: #000000;
JSON
{
  "hex": "#202b77",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 232.414,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33204,
    "c": 0.12953,
    "h": 271.1
  },
  "luminance": 0.03367
}

Semantic roles & 50–950 ramp

primary
#202B77
secondary
#AA9E48
accent
#CD47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202B77

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

Preview Lab → · Contrast checker → · Palette generator →

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