#202D77#202D77

#202D77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.127 H 270.4°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#202D77
RGBrgb(32, 45, 119)
HSLhsl(231, 58%, 30%)
HSVhsv(231, 73%, 47%)
CMYKcmyk(73.1%, 62.2%, 0%, 53.3%)
CIE-LABlab(22.00, 21.83, -43.99)
CIE-LCHlch(22.00, 49.10, 296.39°)
OKLaboklab(33.61% 0.0009 -0.1269)
OKLCHoklch(33.61% 0.127 270.4)
XYZxyz(4.8627, 3.5153, 17.8714)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D77 #776A20
analogous
#205977 #202D77 #3E2077
triadic
#202D77 #77202D #2D7720
tetradic
#202D77 #772059 #776A20 #20773E
square
#202D77 #772059 #776A20 #20773E
split-complementary
#202D77 #773E20 #597720
monochromatic
#060918 #131B47 #202D77 #2D3FA7 #4559CD

Accessibility & contrast

On white

12.33
#202D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#202D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D77
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D77#FFFFFF#000000##FFFFFF
##202D771.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202d77;
/* rgb */ color: rgb(32, 45, 119);
/* oklch */ color: oklch(33.6% 0.127 270.4);
Tailwind
colors: {
  custom: {
    50: '#68659f',
    500: '#202d77',
    950: '#000000',
  },
}
SCSS
$custom: #202d77;
$custom-light: #68659f;
$custom-dark: #000000;
JSON
{
  "hex": "#202d77",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 231.034,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33607,
    "c": 0.12687,
    "h": 270.4
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#202D77
secondary
#AA9C48
accent
#CA47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #202D77

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

Preview Lab → · Contrast checker → · Palette generator →

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