#202276#202276

#202276 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.140 H 273.9°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#202276
RGBrgb(32, 34, 118)
HSLhsl(239, 57%, 29%)
HSVhsv(239, 73%, 46%)
CMYKcmyk(72.9%, 71.2%, 0%, 53.7%)
CIE-LABlab(19.05, 28.95, -48.17)
CIE-LCHlch(19.05, 56.20, 301.00°)
OKLaboklab(31.42% 0.0094 -0.1392)
OKLCHoklch(31.42% 0.14 273.9)
XYZxyz(4.4366, 2.7587, 17.4347)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202276 #767420
analogous
#204D76 #202276 #492076
triadic
#202276 #762022 #227620
tetradic
#202276 #76204D #767420 #207649
square
#202276 #76204D #767420 #207649
split-complementary
#202276 #764920 #4D7620
monochromatic
#070718 #131446 #202276 #2D30A6 #4447CC

Accessibility & contrast

On white

13.53
#202276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#202276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202276
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202276#FFFFFF#000000##FFFFFF
##2022761.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202276;
/* rgb */ color: rgb(32, 34, 118);
/* oklch */ color: oklch(31.4% 0.140 273.9);
Tailwind
colors: {
  custom: {
    50: '#695d9e',
    500: '#202276',
    950: '#000000',
  },
}
SCSS
$custom: #202276;
$custom-light: #695d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#202276",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 238.605,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31417,
    "c": 0.13954,
    "h": 273.9
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#202276
secondary
#A9A748
accent
#DD47E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202276

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

Preview Lab → · Contrast checker → · Palette generator →

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