#202398#202398

#202398 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.183 H 271.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#202398
RGBrgb(32, 35, 152)
HSLhsl(239, 65%, 36%)
HSVhsv(239, 79%, 60%)
CMYKcmyk(78.9%, 77%, 0%, 40.4%)
CIE-LABlab(22.91, 40.46, -63.14)
CIE-LCHlch(22.91, 75.00, 302.65°)
OKLaboklab(35.27% 0.0034 -0.1828)
OKLCHoklch(35.27% 0.183 271.1)
XYZxyz(6.8623, 3.7754, 30.0667)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202398 #989520
analogous
#205F98 #202398 #592098
triadic
#202398 #982023 #239820
tetradic
#202398 #98205F #989520 #209859
square
#202398 #98205F #989520 #209859
split-complementary
#202398 #985920 #5F9820
monochromatic
#0B0C33 #151765 #202398 #2B2FCB #575ADC

Accessibility & contrast

On white

11.96
#202398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#202398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202398
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202398#FFFFFF#000000##FFFFFF
##2023981.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.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: #202398;
/* rgb */ color: rgb(32, 35, 152);
/* oklch */ color: oklch(35.3% 0.183 271.1);
Tailwind
colors: {
  custom: {
    50: '#7260b8',
    500: '#202398',
    950: '#000000',
  },
}
SCSS
$custom: #202398;
$custom-light: #7260b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202398",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 238.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35267,
    "c": 0.18287,
    "h": 271.1
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#202398
secondary
#BFBD54
accent
#E440E8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202398

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

Preview Lab → · Contrast checker → · Palette generator →

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