#202985#202985

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

Color values

HEX#202985
RGBrgb(32, 41, 133)
HSLhsl(235, 61%, 32%)
HSVhsv(235, 76%, 52%)
CMYKcmyk(75.9%, 69.2%, 0%, 47.8%)
CIE-LABlab(22.25, 29.92, -52.43)
CIE-LCHlch(22.25, 60.37, 299.71°)
OKLaboklab(34.19% 0.0031 -0.1516)
OKLCHoklch(34.19% 0.152 271.2)
XYZxyz(5.6208, 3.5858, 22.5817)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202985 #857C20
analogous
#205C85 #202985 #492085
triadic
#202985 #852029 #298520
tetradic
#202985 #85205C #857C20 #208549
square
#202985 #85205C #857C20 #208549
split-complementary
#202985 #854920 #5C8520
monochromatic
#080B22 #141A54 #202985 #2C38B6 #4C58D4

Accessibility & contrast

On white

12.23
#202985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#202985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202985
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202985#FFFFFF#000000##FFFFFF
##2029851.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202985;
/* rgb */ color: rgb(32, 41, 133);
/* oklch */ color: oklch(34.2% 0.152 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c63a9',
    500: '#202985',
    950: '#000000',
  },
}
SCSS
$custom: #202985;
$custom-light: #6c63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#202985",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 234.653,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34192,
    "c": 0.15168,
    "h": 271.2
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#202985
secondary
#B7AD4A
accent
#D643E4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202985

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

Preview Lab → · Contrast checker → · Palette generator →

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