#202896#202896

#202896 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.175 H 270.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#202896
RGBrgb(32, 40, 150)
HSLhsl(236, 65%, 36%)
HSVhsv(236, 79%, 59%)
CMYKcmyk(78.7%, 73.3%, 0%, 41.2%)
CIE-LABlab(23.76, 36.79, -60.52)
CIE-LCHlch(23.76, 70.83, 301.29°)
OKLaboklab(35.8% 0.0016 -0.1752)
OKLCHoklch(35.8% 0.175 270.5)
XYZxyz(6.8576, 4.0259, 29.2639)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202896 #968E20
analogous
#206396 #202896 #532096
triadic
#202896 #962028 #289620
tetradic
#202896 #962063 #968E20 #209653
square
#202896 #962063 #968E20 #209653
split-complementary
#202896 #965320 #639620
monochromatic
#0A0D31 #151B64 #202896 #2B35C8 #565FDB

Accessibility & contrast

On white

11.63
#202896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#202896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202896
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202896#FFFFFF#000000##FFFFFF
##2028961.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202896;
/* rgb */ color: rgb(32, 40, 150);
/* oklch */ color: oklch(35.8% 0.175 270.5);
Tailwind
colors: {
  custom: {
    50: '#7163b6',
    500: '#202896',
    950: '#000000',
  },
}
SCSS
$custom: #202896;
$custom-light: #7163b6;
$custom-dark: #000000;
JSON
{
  "hex": "#202896",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 235.932,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35802,
    "c": 0.17526,
    "h": 270.5
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

primary
#202896
secondary
#BEB753
accent
#DC40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202896

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

Preview Lab → · Contrast checker → · Palette generator →

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