#202477#202477

#202477 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.138 H 273.3°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#202477
RGBrgb(32, 36, 119)
HSLhsl(237, 58%, 30%)
HSVhsv(237, 73%, 47%)
CMYKcmyk(73.1%, 69.7%, 0%, 53.3%)
CIE-LABlab(19.64, 28.00, -47.85)
CIE-LCHlch(19.64, 55.44, 300.33°)
OKLaboklab(31.87% 0.0079 -0.1383)
OKLCHoklch(31.87% 0.138 273.3)
XYZxyz(4.5552, 2.9003, 17.7689)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202477 #777320
analogous
#205077 #202477 #472077
triadic
#202477 #772024 #247720
tetradic
#202477 #772050 #777320 #207747
square
#202477 #772050 #777320 #207747
split-complementary
#202477 #774720 #507720
monochromatic
#060718 #131547 #202477 #2D33A7 #454BCD

Accessibility & contrast

On white

13.29
#202477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#202477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202477
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202477#FFFFFF#000000##FFFFFF
##2024771.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202477;
/* rgb */ color: rgb(32, 36, 119);
/* oklch */ color: oklch(31.9% 0.138 273.3);
Tailwind
colors: {
  custom: {
    50: '#695f9f',
    500: '#202477',
    950: '#000000',
  },
}
SCSS
$custom: #202477;
$custom-light: #695f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#202477",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 237.241,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31874,
    "c": 0.13849,
    "h": 273.3
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#202477
secondary
#AAA648
accent
#DA47E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #202477

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

Preview Lab → · Contrast checker → · Palette generator →

#202477 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva