#202684#202684

#202684 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.154 H 271.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#202684
RGBrgb(32, 38, 132)
HSLhsl(236, 61%, 32%)
HSVhsv(236, 76%, 52%)
CMYKcmyk(75.8%, 71.2%, 0%, 48.2%)
CIE-LABlab(21.43, 31.51, -53.16)
CIE-LCHlch(21.43, 61.80, 300.66°)
OKLaboklab(33.56% 0.0051 -0.1538)
OKLCHoklch(33.56% 0.154 271.9)
XYZxyz(5.4522, 3.3587, 22.1863)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202684 #847E20
analogous
#205884 #202684 #4C2084
triadic
#202684 #842026 #268420
tetradic
#202684 #842058 #847E20 #20844C
square
#202684 #842058 #847E20 #20844C
split-complementary
#202684 #844C20 #588420
monochromatic
#080A21 #141853 #202684 #2C34B5 #4B53D3

Accessibility & contrast

On white

12.56
#202684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#202684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202684
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202684#FFFFFF#000000##FFFFFF
##2026841.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202684;
/* rgb */ color: rgb(32, 38, 132);
/* oklch */ color: oklch(33.6% 0.154 271.9);
Tailwind
colors: {
  custom: {
    50: '#6c61a9',
    500: '#202684',
    950: '#000000',
  },
}
SCSS
$custom: #202684;
$custom-light: #6c61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#202684",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 236.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33563,
    "c": 0.15387,
    "h": 271.9
  },
  "luminance": 0.03359
}

Semantic roles & 50–950 ramp

primary
#202684
secondary
#B6B04A
accent
#DA44E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202684

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

Preview Lab → · Contrast checker → · Palette generator →

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