#202984#202984

#202984 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.150 H 271.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#202984
RGBrgb(32, 41, 132)
HSLhsl(235, 61%, 32%)
HSVhsv(235, 76%, 52%)
CMYKcmyk(75.8%, 68.9%, 0%, 48.2%)
CIE-LABlab(22.15, 29.55, -51.97)
CIE-LCHlch(22.15, 59.78, 299.62°)
OKLaboklab(34.09% 0.0032 -0.1503)
OKLCHoklch(34.09% 0.15 271.2)
XYZxyz(5.5520, 3.5583, 22.2195)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202984 #847B20
analogous
#205B84 #202984 #492084
triadic
#202984 #842029 #298420
tetradic
#202984 #84205B #847B20 #208449
square
#202984 #84205B #847B20 #208449
split-complementary
#202984 #844920 #5B8420
monochromatic
#080A21 #141A53 #202984 #2C38B5 #4B57D3

Accessibility & contrast

On white

12.27
#202984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#202984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202984
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202984#FFFFFF#000000##FFFFFF
##2029841.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202984;
/* rgb */ color: rgb(32, 41, 132);
/* oklch */ color: oklch(34.1% 0.150 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c63a9',
    500: '#202984',
    950: '#000000',
  },
}
SCSS
$custom: #202984;
$custom-light: #6c63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#202984",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 234.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34091,
    "c": 0.15032,
    "h": 271.2
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#202984
secondary
#B6AC4A
accent
#D644E4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202984

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

Preview Lab → · Contrast checker → · Palette generator →

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