#202D97#202D97

#202D97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.171 H 269.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#202D97
RGBrgb(32, 45, 151)
HSLhsl(233, 65%, 36%)
HSVhsv(233, 79%, 59%)
CMYKcmyk(78.8%, 70.2%, 0%, 40.8%)
CIE-LABlab(25.01, 34.00, -59.08)
CIE-LCHlch(25.01, 68.17, 299.92°)
OKLaboklab(36.73% -0.0009 -0.171)
OKLCHoklch(36.73% 0.171 269.7)
XYZxyz(7.1180, 4.4174, 29.7497)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D97 #978A20
analogous
#206897 #202D97 #4E2097
triadic
#202D97 #97202D #2D9720
tetradic
#202D97 #972068 #978A20 #20974E
square
#202D97 #972068 #978A20 #20974E
split-complementary
#202D97 #974E20 #689720
monochromatic
#0B0F32 #151E64 #202D97 #2B3CC9 #5665DB

Accessibility & contrast

On white

11.15
#202D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#202D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D97
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D97#FFFFFF#000000##FFFFFF
##202D971.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202d97;
/* rgb */ color: rgb(32, 45, 151);
/* oklch */ color: oklch(36.7% 0.171 269.7);
Tailwind
colors: {
  custom: {
    50: '#7166b7',
    500: '#202d97',
    950: '#000000',
  },
}
SCSS
$custom: #202d97;
$custom-light: #7166b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202d97",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 233.445,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36733,
    "c": 0.17105,
    "h": 269.7
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#202D97
secondary
#BFB354
accent
#D640E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #202D97

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

Preview Lab → · Contrast checker → · Palette generator →

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