#202F77#202F77

#202F77 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.124 H 269.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#202F77
RGBrgb(32, 47, 119)
HSLhsl(230, 58%, 30%)
HSVhsv(230, 73%, 47%)
CMYKcmyk(73.1%, 60.5%, 0%, 53.3%)
CIE-LABlab(22.55, 20.42, -43.08)
CIE-LCHlch(22.55, 47.68, 295.36°)
OKLaboklab(34.02% -0.0008 -0.1242)
OKLCHoklch(34.02% 0.124 269.6)
XYZxyz(4.9408, 3.6715, 17.8975)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F77 #776820
analogous
#205B77 #202F77 #3D2077
triadic
#202F77 #77202F #2F7720
tetradic
#202F77 #77205B #776820 #20773D
square
#202F77 #77205B #776820 #20773D
split-complementary
#202F77 #773D20 #5B7720
monochromatic
#060A18 #131C47 #202F77 #2D42A7 #455CCD

Accessibility & contrast

On white

12.11
#202F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#202F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F77
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F77#FFFFFF#000000##FFFFFF
##202F771.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202f77;
/* rgb */ color: rgb(32, 47, 119);
/* oklch */ color: oklch(34.0% 0.124 269.6);
Tailwind
colors: {
  custom: {
    50: '#68679f',
    500: '#202f77',
    950: '#000000',
  },
}
SCSS
$custom: #202f77;
$custom-light: #68679f;
$custom-dark: #000000;
JSON
{
  "hex": "#202f77",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 229.655,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3402,
    "c": 0.12419,
    "h": 269.6
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#202F77
secondary
#AA9948
accent
#C647E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #202F77

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

Preview Lab → · Contrast checker → · Palette generator →

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