#202696#202696

#202696 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.177 H 270.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#202696
RGBrgb(32, 38, 150)
HSLhsl(237, 65%, 36%)
HSVhsv(237, 79%, 59%)
CMYKcmyk(78.7%, 74.7%, 0%, 41.2%)
CIE-LABlab(23.32, 38.00, -61.24)
CIE-LCHlch(23.32, 72.08, 301.82°)
OKLaboklab(35.49% 0.0025 -0.1773)
OKLCHoklch(35.49% 0.177 270.8)
XYZxyz(6.7919, 3.8946, 29.2420)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202696 #969020
analogous
#206196 #202696 #552096
triadic
#202696 #962026 #269620
tetradic
#202696 #962061 #969020 #209655
square
#202696 #962061 #969020 #209655
split-complementary
#202696 #965520 #619620
monochromatic
#0A0C31 #151964 #202696 #2B33C8 #565CDB

Accessibility & contrast

On white

11.80
#202696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#202696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202696
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202696#FFFFFF#000000##FFFFFF
##2026961.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202696;
/* rgb */ color: rgb(32, 38, 150);
/* oklch */ color: oklch(35.5% 0.177 270.8);
Tailwind
colors: {
  custom: {
    50: '#7161b6',
    500: '#202696',
    950: '#000000',
  },
}
SCSS
$custom: #202696;
$custom-light: #7161b6;
$custom-dark: #000000;
JSON
{
  "hex": "#202696",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 236.949,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35489,
    "c": 0.17736,
    "h": 270.8
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#202696
secondary
#BEB953
accent
#DF40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202696

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

Preview Lab → · Contrast checker → · Palette generator →

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