#202996#202996

#202996 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.174 H 270.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#202996
RGBrgb(32, 41, 150)
HSLhsl(235, 65%, 36%)
HSVhsv(235, 79%, 59%)
CMYKcmyk(78.7%, 72.7%, 0%, 41.2%)
CIE-LABlab(23.98, 36.17, -60.15)
CIE-LCHlch(23.98, 70.19, 301.02°)
OKLaboklab(35.96% 0.0011 -0.1742)
OKLCHoklch(35.96% 0.174 270.4)
XYZxyz(6.8917, 4.0942, 29.2753)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202996 #968D20
analogous
#206496 #202996 #522096
triadic
#202996 #962029 #299620
tetradic
#202996 #962064 #968D20 #209652
square
#202996 #962064 #968D20 #209652
split-complementary
#202996 #965220 #649620
monochromatic
#0A0D31 #151B64 #202996 #2B37C8 #5660DB

Accessibility & contrast

On white

11.54
#202996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#202996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202996
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202996#FFFFFF#000000##FFFFFF
##2029961.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202996;
/* rgb */ color: rgb(32, 41, 150);
/* oklch */ color: oklch(36.0% 0.174 270.4);
Tailwind
colors: {
  custom: {
    50: '#7163b6',
    500: '#202996',
    950: '#000000',
  },
}
SCSS
$custom: #202996;
$custom-light: #7163b6;
$custom-dark: #000000;
JSON
{
  "hex": "#202996",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 235.424,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35962,
    "c": 0.17418,
    "h": 270.4
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#202996
secondary
#BEB653
accent
#DB40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #202996

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

Preview Lab → · Contrast checker → · Palette generator →

#202996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva