#202877#202877

#202877 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.133 H 272.1°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#202877
RGBrgb(32, 40, 119)
HSLhsl(234, 58%, 30%)
HSVhsv(234, 73%, 47%)
CMYKcmyk(73.1%, 66.4%, 0%, 53.3%)
CIE-LABlab(20.66, 25.29, -46.18)
CIE-LCHlch(20.66, 52.65, 298.71°)
OKLaboklab(32.62% 0.0049 -0.1333)
OKLCHoklch(32.62% 0.133 272.1)
XYZxyz(4.6831, 3.1561, 17.8116)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202877 #776F20
analogous
#205477 #202877 #442077
triadic
#202877 #772028 #287720
tetradic
#202877 #772054 #776F20 #207744
square
#202877 #772054 #776F20 #207744
split-complementary
#202877 #774420 #547720
monochromatic
#060818 #131847 #202877 #2D38A7 #4551CD

Accessibility & contrast

On white

12.87
#202877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#202877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202877
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202877#FFFFFF#000000##FFFFFF
##2028771.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202877;
/* rgb */ color: rgb(32, 40, 119);
/* oklch */ color: oklch(32.6% 0.133 272.1);
Tailwind
colors: {
  custom: {
    50: '#69629f',
    500: '#202877',
    950: '#000000',
  },
}
SCSS
$custom: #202877;
$custom-light: #69629f;
$custom-dark: #000000;
JSON
{
  "hex": "#202877",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 234.483,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32617,
    "c": 0.13344,
    "h": 272.1
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#202877
secondary
#AAA148
accent
#D347E1
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #202877

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

Preview Lab → · Contrast checker → · Palette generator →

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