#202A77#202A77

#202A77 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.131 H 271.5°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#202A77
RGBrgb(32, 42, 119)
HSLhsl(233, 58%, 30%)
HSVhsv(233, 73%, 47%)
CMYKcmyk(73.1%, 64.7%, 0%, 53.3%)
CIE-LABlab(21.19, 23.91, -45.31)
CIE-LCHlch(21.19, 51.24, 297.82°)
OKLaboklab(33.01% 0.0034 -0.1308)
OKLCHoklch(33.01% 0.131 271.5)
XYZxyz(4.7523, 3.2944, 17.8346)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A77 #776D20
analogous
#205677 #202A77 #412077
triadic
#202A77 #77202A #2A7720
tetradic
#202A77 #772056 #776D20 #207741
square
#202A77 #772056 #776D20 #207741
split-complementary
#202A77 #774120 #567720
monochromatic
#060918 #131947 #202A77 #2D3BA7 #4554CD

Accessibility & contrast

On white

12.66
#202A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#202A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A77
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A77#FFFFFF#000000##FFFFFF
##202A771.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202a77;
/* rgb */ color: rgb(32, 42, 119);
/* oklch */ color: oklch(33.0% 0.131 271.5);
Tailwind
colors: {
  custom: {
    50: '#69639f',
    500: '#202a77',
    950: '#000000',
  },
}
SCSS
$custom: #202a77;
$custom-light: #69639f;
$custom-dark: #000000;
JSON
{
  "hex": "#202a77",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 233.103,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33006,
    "c": 0.13084,
    "h": 271.5
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#202A77
secondary
#AA9F48
accent
#CF47E1
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202A77

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

Preview Lab → · Contrast checker → · Palette generator →

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