#202B97#202B97

#202B97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.173 H 270.0°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#202B97
RGBrgb(32, 43, 151)
HSLhsl(234, 65%, 36%)
HSVhsv(234, 79%, 59%)
CMYKcmyk(78.8%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.54, 35.28, -59.85)
CIE-LCHlch(24.54, 69.47, 300.52°)
OKLaboklab(36.4% 0.0001 -0.1733)
OKLCHoklch(36.4% 0.173 270)
XYZxyz(7.0435, 4.2684, 29.7248)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B97 #978C20
analogous
#206697 #202B97 #502097
triadic
#202B97 #97202B #2B9720
tetradic
#202B97 #972066 #978C20 #209750
square
#202B97 #972066 #978C20 #209750
split-complementary
#202B97 #975020 #669720
monochromatic
#0B0E32 #151D64 #202B97 #2B39C9 #5662DB

Accessibility & contrast

On white

11.33
#202B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#202B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B97
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B97#FFFFFF#000000##FFFFFF
##202B971.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #202b97;
/* rgb */ color: rgb(32, 43, 151);
/* oklch */ color: oklch(36.4% 0.173 270.0);
Tailwind
colors: {
  custom: {
    50: '#7165b7',
    500: '#202b97',
    950: '#000000',
  },
}
SCSS
$custom: #202b97;
$custom-light: #7165b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202b97",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 234.454,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36396,
    "c": 0.17329,
    "h": 270
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#202B97
secondary
#BFB554
accent
#D840E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #202B97

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

Preview Lab → · Contrast checker → · Palette generator →

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