#202C97#202C97

#202C97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.172 H 269.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#202C97
RGBrgb(32, 44, 151)
HSLhsl(234, 65%, 36%)
HSVhsv(234, 79%, 59%)
CMYKcmyk(78.8%, 70.9%, 0%, 40.8%)
CIE-LABlab(24.77, 34.64, -59.47)
CIE-LCHlch(24.77, 68.82, 300.22°)
OKLaboklab(36.56% -0.0004 -0.1722)
OKLCHoklch(36.56% 0.172 269.9)
XYZxyz(7.0803, 4.3420, 29.7371)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C97 #978B20
analogous
#206797 #202C97 #502097
triadic
#202C97 #97202C #2C9720
tetradic
#202C97 #972067 #978B20 #209750
square
#202C97 #972067 #978B20 #209750
split-complementary
#202C97 #975020 #679720
monochromatic
#0B0F32 #151D64 #202C97 #2B3BC9 #5664DB

Accessibility & contrast

On white

11.24
#202C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#202C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C97
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C97#FFFFFF#000000##FFFFFF
##202C971.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #202c97;
/* rgb */ color: rgb(32, 44, 151);
/* oklch */ color: oklch(36.6% 0.172 269.9);
Tailwind
colors: {
  custom: {
    50: '#7165b7',
    500: '#202c97',
    950: '#000000',
  },
}
SCSS
$custom: #202c97;
$custom-light: #7165b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202c97",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 233.95,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36563,
    "c": 0.17218,
    "h": 269.9
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#202C97
secondary
#BFB454
accent
#D740E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #202C97

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

Preview Lab → · Contrast checker → · Palette generator →

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