#202283#202283

#202283 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.157 H 272.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#202283
RGBrgb(32, 34, 131)
HSLhsl(239, 61%, 32%)
HSVhsv(239, 76%, 51%)
CMYKcmyk(75.6%, 74%, 0%, 48.6%)
CIE-LABlab(20.40, 33.69, -54.22)
CIE-LCHlch(20.40, 63.84, 301.85°)
OKLaboklab(32.79% 0.0075 -0.1569)
OKLCHoklch(32.79% 0.157 272.7)
XYZxyz(5.2631, 3.0893, 21.7872)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202283 #838120
analogous
#205483 #202283 #502083
triadic
#202283 #832022 #228320
tetradic
#202283 #832054 #838120 #208350
square
#202283 #832054 #838120 #208350
split-complementary
#202283 #835020 #548320
monochromatic
#080821 #141552 #202283 #2C2FB4 #4A4DD3

Accessibility & contrast

On white

12.98
#202283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#202283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202283
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202283#FFFFFF#000000##FFFFFF
##2022831.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202283;
/* rgb */ color: rgb(32, 34, 131);
/* oklch */ color: oklch(32.8% 0.157 272.7);
Tailwind
colors: {
  custom: {
    50: '#6c5ea8',
    500: '#202283',
    950: '#000000',
  },
}
SCSS
$custom: #202283;
$custom-light: #6c5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#202283",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 238.788,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32793,
    "c": 0.15706,
    "h": 272.7
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#202283
secondary
#B6B349
accent
#E144E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202283

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

Preview Lab → · Contrast checker → · Palette generator →

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