#202298#202298

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

Color values

HEX#202298
RGBrgb(32, 34, 152)
HSLhsl(239, 65%, 36%)
HSVhsv(239, 79%, 60%)
CMYKcmyk(78.9%, 77.6%, 0%, 40.4%)
CIE-LABlab(22.71, 41.03, -63.48)
CIE-LCHlch(22.71, 75.58, 302.88°)
OKLaboklab(35.13% 0.0038 -0.1838)
OKLCHoklch(35.13% 0.184 271.2)
XYZxyz(6.8333, 3.7174, 30.0571)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202298 #989620
analogous
#205E98 #202298 #5A2098
triadic
#202298 #982022 #229820
tetradic
#202298 #98205E #989620 #20985A
square
#202298 #98205E #989620 #20985A
split-complementary
#202298 #985A20 #5E9820
monochromatic
#0B0B33 #151765 #202298 #2B2DCB #5759DC

Accessibility & contrast

On white

12.04
#202298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202298
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202298#FFFFFF#000000##FFFFFF
##2022981.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9B
Deuteranopia (green-blind)
#003096
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202298;
/* rgb */ color: rgb(32, 34, 152);
/* oklch */ color: oklch(35.1% 0.184 271.2);
Tailwind
colors: {
  custom: {
    50: '#725fb8',
    500: '#202298',
    950: '#000000',
  },
}
SCSS
$custom: #202298;
$custom-light: #725fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#202298",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 239,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35125,
    "c": 0.18383,
    "h": 271.2
  },
  "luminance": 0.03718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202298

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

Preview Lab → · Contrast checker → · Palette generator →

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