#202A97#202A97

#202A97 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.174 H 270.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#202A97
RGBrgb(32, 42, 151)
HSLhsl(235, 65%, 36%)
HSVhsv(235, 79%, 59%)
CMYKcmyk(78.8%, 72.2%, 0%, 40.8%)
CIE-LABlab(24.31, 35.90, -60.22)
CIE-LCHlch(24.31, 70.11, 300.80°)
OKLaboklab(36.23% 0.0005 -0.1744)
OKLCHoklch(36.23% 0.174 270.2)
XYZxyz(7.0076, 4.1966, 29.7129)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A97 #978D20
analogous
#206597 #202A97 #512097
triadic
#202A97 #97202A #2A9720
tetradic
#202A97 #972065 #978D20 #209751
square
#202A97 #972065 #978D20 #209751
split-complementary
#202A97 #975120 #659720
monochromatic
#0B0E32 #151C64 #202A97 #2B38C9 #5661DB

Accessibility & contrast

On white

11.42
#202A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#202A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A97
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A97#FFFFFF#000000##FFFFFF
##202A971.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202a97;
/* rgb */ color: rgb(32, 42, 151);
/* oklch */ color: oklch(36.2% 0.174 270.2);
Tailwind
colors: {
  custom: {
    50: '#7164b7',
    500: '#202a97',
    950: '#000000',
  },
}
SCSS
$custom: #202a97;
$custom-light: #7164b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202a97",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 234.958,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.17439,
    "h": 270.2
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#202A97
secondary
#BFB654
accent
#DA40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #202A97

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

Preview Lab → · Contrast checker → · Palette generator →

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