#202285#202285

#202285 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.160 H 272.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#202285
RGBrgb(32, 34, 133)
HSLhsl(239, 61%, 32%)
HSVhsv(239, 76%, 52%)
CMYKcmyk(75.9%, 74.4%, 0%, 47.8%)
CIE-LABlab(20.61, 34.41, -55.13)
CIE-LCHlch(20.61, 64.99, 301.97°)
OKLaboklab(33.01% 0.0072 -0.1595)
OKLCHoklch(33.01% 0.16 272.6)
XYZxyz(5.3999, 3.1440, 22.5080)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202285 #858320
analogous
#205485 #202285 #512085
triadic
#202285 #852022 #228520
tetradic
#202285 #852054 #858320 #208551
square
#202285 #852054 #858320 #208551
split-complementary
#202285 #855120 #548520
monochromatic
#080922 #141554 #202285 #2C2FB6 #4C4ED4

Accessibility & contrast

On white

12.89
#202285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#202285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202285
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202285#FFFFFF#000000##FFFFFF
##2022851.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202285;
/* rgb */ color: rgb(32, 34, 133);
/* oklch */ color: oklch(33.0% 0.160 272.6);
Tailwind
colors: {
  custom: {
    50: '#6d5eaa',
    500: '#202285',
    950: '#000000',
  },
}
SCSS
$custom: #202285;
$custom-light: #6d5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#202285",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 238.812,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3301,
    "c": 0.15969,
    "h": 272.6
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#202285
secondary
#B7B44A
accent
#E143E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202285

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

Preview Lab → · Contrast checker → · Palette generator →

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