#202598#202598

#202598 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.181 H 270.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#202598
RGBrgb(32, 37, 152)
HSLhsl(238, 65%, 36%)
HSVhsv(238, 79%, 60%)
CMYKcmyk(78.9%, 75.7%, 0%, 40.4%)
CIE-LABlab(23.33, 39.30, -62.46)
CIE-LCHlch(23.33, 73.80, 302.18°)
OKLaboklab(35.56% 0.0026 -0.1809)
OKLCHoklch(35.56% 0.181 270.8)
XYZxyz(6.9228, 3.8964, 30.0869)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202598 #989320
analogous
#206198 #202598 #572098
triadic
#202598 #982025 #259820
tetradic
#202598 #982061 #989320 #209857
square
#202598 #982061 #989320 #209857
split-complementary
#202598 #985720 #619820
monochromatic
#0B0C33 #151965 #202598 #2B31CB #575CDC

Accessibility & contrast

On white

11.80
#202598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#202598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202598
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202598#FFFFFF#000000##FFFFFF
##2025981.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9B
Deuteranopia (green-blind)
#003296
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202598;
/* rgb */ color: rgb(32, 37, 152);
/* oklch */ color: oklch(35.6% 0.181 270.8);
Tailwind
colors: {
  custom: {
    50: '#7261b8',
    500: '#202598',
    950: '#000000',
  },
}
SCSS
$custom: #202598;
$custom-light: #7261b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202598",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 237.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35559,
    "c": 0.1809,
    "h": 270.8
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#202598
secondary
#BFBB54
accent
#E140E8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202598

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

Preview Lab → · Contrast checker → · Palette generator →

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