#202898#202898

#202898 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.178 H 270.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#202898
RGBrgb(32, 40, 152)
HSLhsl(236, 65%, 36%)
HSVhsv(236, 79%, 60%)
CMYKcmyk(78.9%, 73.7%, 0%, 40.4%)
CIE-LABlab(23.97, 37.50, -61.40)
CIE-LCHlch(23.97, 71.95, 301.41°)
OKLaboklab(36.02% 0.0013 -0.1778)
OKLCHoklch(36.02% 0.178 270.4)
XYZxyz(7.0200, 4.0909, 30.1193)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202898 #989020
analogous
#206498 #202898 #542098
triadic
#202898 #982028 #289820
tetradic
#202898 #982064 #989020 #209854
square
#202898 #982064 #989020 #209854
split-complementary
#202898 #985420 #649820
monochromatic
#0B0D33 #151B65 #202898 #2B35CB #5760DC

Accessibility & contrast

On white

11.55
#202898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#202898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202898
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202898#FFFFFF#000000##FFFFFF
##2028981.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003396
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202898;
/* rgb */ color: rgb(32, 40, 152);
/* oklch */ color: oklch(36.0% 0.178 270.4);
Tailwind
colors: {
  custom: {
    50: '#7163b7',
    500: '#202898',
    950: '#000000',
  },
}
SCSS
$custom: #202898;
$custom-light: #7163b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202898",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 236,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36018,
    "c": 0.17781,
    "h": 270.4
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#202898
secondary
#BFB854
accent
#DD40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202898

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

Preview Lab → · Contrast checker → · Palette generator →

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