#202A98#202A98

#202A98 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.176 H 270.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#202A98
RGBrgb(32, 42, 152)
HSLhsl(235, 65%, 36%)
HSVhsv(235, 79%, 60%)
CMYKcmyk(78.9%, 72.4%, 0%, 40.4%)
CIE-LABlab(24.42, 36.27, -60.67)
CIE-LCHlch(24.42, 70.68, 300.87°)
OKLaboklab(36.34% 0.0004 -0.1757)
OKLCHoklch(36.34% 0.176 270.1)
XYZxyz(7.0892, 4.2292, 30.1424)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A98 #988E20
analogous
#206698 #202A98 #522098
triadic
#202A98 #98202A #2A9820
tetradic
#202A98 #982066 #988E20 #209852
square
#202A98 #982066 #988E20 #209852
split-complementary
#202A98 #985220 #669820
monochromatic
#0B0E33 #151C65 #202A98 #2B38CB #5762DC

Accessibility & contrast

On white

11.38
#202A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#202A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A98
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A98#FFFFFF#000000##FFFFFF
##202A981.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003496
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #202a98;
/* rgb */ color: rgb(32, 42, 152);
/* oklch */ color: oklch(36.3% 0.176 270.1);
Tailwind
colors: {
  custom: {
    50: '#7164b7',
    500: '#202a98',
    950: '#000000',
  },
}
SCSS
$custom: #202a98;
$custom-light: #7164b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202a98",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 235,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36337,
    "c": 0.17568,
    "h": 270.1
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#202A98
secondary
#BFB654
accent
#DA40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #202A98

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

Preview Lab → · Contrast checker → · Palette generator →

#202A98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva