#202A96#202A96

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

Color values

HEX#202A96
RGBrgb(32, 42, 150)
HSLhsl(235, 65%, 36%)
HSVhsv(235, 79%, 59%)
CMYKcmyk(78.7%, 72%, 0%, 41.2%)
CIE-LABlab(24.21, 35.54, -59.78)
CIE-LCHlch(24.21, 69.55, 300.73°)
OKLaboklab(36.13% 0.0007 -0.1731)
OKLCHoklch(36.13% 0.173 270.2)
XYZxyz(6.9268, 4.1642, 29.2870)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A96 #968C20
analogous
#206596 #202A96 #512096
triadic
#202A96 #96202A #2A9620
tetradic
#202A96 #962065 #968C20 #209651
square
#202A96 #962065 #968C20 #209651
split-complementary
#202A96 #965120 #659620
monochromatic
#0A0E31 #151C64 #202A96 #2B38C8 #5661DB

Accessibility & contrast

On white

11.46
#202A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#202A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A96
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A96#FFFFFF#000000##FFFFFF
##202A961.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #202a96;
/* rgb */ color: rgb(32, 42, 150);
/* oklch */ color: oklch(36.1% 0.173 270.2);
Tailwind
colors: {
  custom: {
    50: '#7164b6',
    500: '#202a96',
    950: '#000000',
  },
}
SCSS
$custom: #202a96;
$custom-light: #7164b6;
$custom-dark: #000000;
JSON
{
  "hex": "#202a96",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 234.915,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36125,
    "c": 0.17309,
    "h": 270.2
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202A96

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

Preview Lab → · Contrast checker → · Palette generator →

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