#202397#202397

#202397 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.182 H 271.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#202397
RGBrgb(32, 35, 151)
HSLhsl(238, 65%, 36%)
HSVhsv(238, 79%, 59%)
CMYKcmyk(78.8%, 76.8%, 0%, 40.8%)
CIE-LABlab(22.80, 40.12, -62.71)
CIE-LCHlch(22.80, 74.45, 302.61°)
OKLaboklab(35.15% 0.0036 -0.1816)
OKLCHoklch(35.15% 0.182 271.1)
XYZxyz(6.7807, 3.7428, 29.6372)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202397 #979420
analogous
#205E97 #202397 #582097
triadic
#202397 #972023 #239720
tetradic
#202397 #97205E #979420 #209758
square
#202397 #97205E #979420 #209758
split-complementary
#202397 #975820 #5E9720
monochromatic
#0B0C32 #151764 #202397 #2B2FC9 #565ADB

Accessibility & contrast

On white

12.01
#202397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#202397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202397
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202397#FFFFFF#000000##FFFFFF
##2023971.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202397;
/* rgb */ color: rgb(32, 35, 151);
/* oklch */ color: oklch(35.2% 0.182 271.1);
Tailwind
colors: {
  custom: {
    50: '#7260b7',
    500: '#202397',
    950: '#000000',
  },
}
SCSS
$custom: #202397;
$custom-light: #7260b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202397",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 238.487,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35154,
    "c": 0.18162,
    "h": 271.1
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202397

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

Preview Lab → · Contrast checker → · Palette generator →

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