#202E77#202E77

#202E77 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.126 H 270.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#202E77
RGBrgb(32, 46, 119)
HSLhsl(230, 58%, 30%)
HSVhsv(230, 73%, 47%)
CMYKcmyk(73.1%, 61.3%, 0%, 53.3%)
CIE-LABlab(22.28, 21.12, -43.54)
CIE-LCHlch(22.28, 48.39, 295.88°)
OKLaboklab(33.81% 0.0001 -0.1255)
OKLCHoklch(33.81% 0.126 270)
XYZxyz(4.9013, 3.5925, 17.8843)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E77 #776920
analogous
#205A77 #202E77 #3E2077
triadic
#202E77 #77202E #2E7720
tetradic
#202E77 #77205A #776920 #20773E
square
#202E77 #77205A #776920 #20773E
split-complementary
#202E77 #773E20 #5A7720
monochromatic
#060918 #131B47 #202E77 #2D41A7 #455ACD

Accessibility & contrast

On white

12.22
#202E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#202E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202E77
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E77#FFFFFF#000000##FFFFFF
##202E771.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.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: #202e77;
/* rgb */ color: rgb(32, 46, 119);
/* oklch */ color: oklch(33.8% 0.126 270.0);
Tailwind
colors: {
  custom: {
    50: '#68669f',
    500: '#202e77',
    950: '#000000',
  },
}
SCSS
$custom: #202e77;
$custom-light: #68669f;
$custom-dark: #000000;
JSON
{
  "hex": "#202e77",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 230.345,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33813,
    "c": 0.12554,
    "h": 270
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#202E77
secondary
#AA9B48
accent
#C847E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #202E77

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

Preview Lab → · Contrast checker → · Palette generator →

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