#202783#202783

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

Color values

HEX#202783
RGBrgb(32, 39, 131)
HSLhsl(236, 61%, 32%)
HSVhsv(236, 76%, 51%)
CMYKcmyk(75.6%, 70.2%, 0%, 48.6%)
CIE-LABlab(21.57, 30.49, -52.30)
CIE-LCHlch(21.57, 60.54, 300.24°)
OKLaboklab(33.63% 0.0046 -0.1513)
OKLCHoklch(33.63% 0.151 271.7)
XYZxyz(5.4165, 3.3962, 21.8384)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202783 #837C20
analogous
#205883 #202783 #4B2083
triadic
#202783 #832027 #278320
tetradic
#202783 #832058 #837C20 #20834B
square
#202783 #832058 #837C20 #20834B
split-complementary
#202783 #834B20 #588320
monochromatic
#080A21 #141852 #202783 #2C36B4 #4A54D3

Accessibility & contrast

On white

12.50
#202783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#202783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202783
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202783#FFFFFF#000000##FFFFFF
##2027831.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202783;
/* rgb */ color: rgb(32, 39, 131);
/* oklch */ color: oklch(33.6% 0.151 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c61a8',
    500: '#202783',
    950: '#000000',
  },
}
SCSS
$custom: #202783;
$custom-light: #6c61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#202783",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 235.758,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33633,
    "c": 0.15135,
    "h": 271.7
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#202783
secondary
#B6AE49
accent
#D944E4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202783

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

Preview Lab → · Contrast checker → · Palette generator →

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