#202297#202297

#202297 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.183 H 271.2°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#202297
RGBrgb(32, 34, 151)
HSLhsl(239, 65%, 36%)
HSVhsv(239, 79%, 59%)
CMYKcmyk(78.8%, 77.5%, 0%, 40.8%)
CIE-LABlab(22.60, 40.69, -63.05)
CIE-LCHlch(22.60, 75.04, 302.84°)
OKLaboklab(35.01% 0.0039 -0.1825)
OKLCHoklch(35.01% 0.183 271.2)
XYZxyz(6.7517, 3.6848, 29.6275)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202297 #979520
analogous
#205D97 #202297 #592097
triadic
#202297 #972022 #229720
tetradic
#202297 #97205D #979520 #209759
square
#202297 #97205D #979520 #209759
split-complementary
#202297 #975920 #5D9720
monochromatic
#0B0B32 #151764 #202297 #2B2DC9 #5658DB

Accessibility & contrast

On white

12.09
#202297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#202297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202297
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202297#FFFFFF#000000##FFFFFF
##2022971.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.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: #202297;
/* rgb */ color: rgb(32, 34, 151);
/* oklch */ color: oklch(35.0% 0.183 271.2);
Tailwind
colors: {
  custom: {
    50: '#725fb7',
    500: '#202297',
    950: '#000000',
  },
}
SCSS
$custom: #202297;
$custom-light: #725fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#202297",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 238.992,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35012,
    "c": 0.18259,
    "h": 271.2
  },
  "luminance": 0.03685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202297

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

Preview Lab → · Contrast checker → · Palette generator →

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