#202688#202688

#202688 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.159 H 271.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#202688
RGBrgb(32, 38, 136)
HSLhsl(237, 62%, 33%)
HSVhsv(237, 76%, 53%)
CMYKcmyk(76.5%, 72.1%, 0%, 46.7%)
CIE-LABlab(21.84, 32.98, -55.00)
CIE-LCHlch(21.84, 64.13, 300.95°)
OKLaboklab(33.98% 0.0046 -0.1591)
OKLCHoklch(33.98% 0.159 271.6)
XYZxyz(5.7312, 3.4703, 23.6556)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202688 #888220
analogous
#205A88 #202688 #4E2088
triadic
#202688 #882026 #268820
tetradic
#202688 #88205A #888220 #20884E
square
#202688 #88205A #888220 #20884E
split-complementary
#202688 #884E20 #5A8820
monochromatic
#090A25 #141856 #202688 #2C34BA #4D55D5

Accessibility & contrast

On white

12.40
#202688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#202688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202688
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202688#FFFFFF#000000##FFFFFF
##2026881.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202688;
/* rgb */ color: rgb(32, 38, 136);
/* oklch */ color: oklch(34.0% 0.159 271.6);
Tailwind
colors: {
  custom: {
    50: '#6d61ac',
    500: '#202688',
    950: '#000000',
  },
}
SCSS
$custom: #202688;
$custom-light: #6d61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202688",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 236.538,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33983,
    "c": 0.15921,
    "h": 271.6
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

primary
#202688
secondary
#B8B24C
accent
#DC43E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202688

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

Preview Lab → · Contrast checker → · Palette generator →

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