#202498#202498

#202498 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.182 H 270.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#202498
RGBrgb(32, 36, 152)
HSLhsl(238, 65%, 36%)
HSVhsv(238, 79%, 60%)
CMYKcmyk(78.9%, 76.3%, 0%, 40.4%)
CIE-LABlab(23.12, 39.89, -62.81)
CIE-LCHlch(23.12, 74.40, 302.42°)
OKLaboklab(35.41% 0.003 -0.1819)
OKLCHoklch(35.41% 0.182 270.9)
XYZxyz(6.8921, 3.8351, 30.0767)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202498 #989420
analogous
#206098 #202498 #582098
triadic
#202498 #982024 #249820
tetradic
#202498 #982060 #989420 #209858
square
#202498 #982060 #989420 #209858
split-complementary
#202498 #985820 #609820
monochromatic
#0B0C33 #151865 #202498 #2B30CB #575BDC

Accessibility & contrast

On white

11.88
#202498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#202498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202498
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202498#FFFFFF#000000##FFFFFF
##2024981.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9B
Deuteranopia (green-blind)
#003196
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202498;
/* rgb */ color: rgb(32, 36, 152);
/* oklch */ color: oklch(35.4% 0.182 270.9);
Tailwind
colors: {
  custom: {
    50: '#7260b8',
    500: '#202498',
    950: '#000000',
  },
}
SCSS
$custom: #202498;
$custom-light: #7260b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202498",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 238,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35411,
    "c": 0.18189,
    "h": 270.9
  },
  "luminance": 0.03836
}

Semantic roles & 50–950 ramp

primary
#202498
secondary
#BFBC54
accent
#E340E8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202498

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

Preview Lab → · Contrast checker → · Palette generator →

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