#202277#202277

#202277 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.141 H 273.8°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#202277
RGBrgb(32, 34, 119)
HSLhsl(239, 58%, 30%)
HSVhsv(239, 73%, 47%)
CMYKcmyk(73.1%, 71.4%, 0%, 53.3%)
CIE-LABlab(19.15, 29.32, -48.65)
CIE-LCHlch(19.15, 56.80, 301.08°)
OKLaboklab(31.52% 0.0093 -0.1406)
OKLCHoklch(31.52% 0.141 273.8)
XYZxyz(4.4964, 2.7826, 17.7493)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202277 #777520
analogous
#204D77 #202277 #4A2077
triadic
#202277 #772022 #227720
tetradic
#202277 #77204D #777520 #20774A
square
#202277 #77204D #777520 #20774A
split-complementary
#202277 #774A20 #4D7720
monochromatic
#060718 #131447 #202277 #2D30A7 #4548CD

Accessibility & contrast

On white

13.49
#202277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#202277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202277
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202277#FFFFFF#000000##FFFFFF
##2022771.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202277;
/* rgb */ color: rgb(32, 34, 119);
/* oklch */ color: oklch(31.5% 0.141 273.8);
Tailwind
colors: {
  custom: {
    50: '#695d9f',
    500: '#202277',
    950: '#000000',
  },
}
SCSS
$custom: #202277;
$custom-light: #695d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#202277",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 238.621,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3152,
    "c": 0.14092,
    "h": 273.8
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#202277
secondary
#AAA848
accent
#DD47E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #202277

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

Preview Lab → · Contrast checker → · Palette generator →

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