#202998#202998

#202998 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.177 H 270.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#202998
RGBrgb(32, 41, 152)
HSLhsl(236, 65%, 36%)
HSVhsv(236, 79%, 60%)
CMYKcmyk(78.9%, 73%, 0%, 40.4%)
CIE-LABlab(24.19, 36.89, -61.04)
CIE-LCHlch(24.19, 71.32, 301.15°)
OKLaboklab(36.18% 0.0009 -0.1767)
OKLCHoklch(36.18% 0.177 270.3)
XYZxyz(7.0542, 4.1592, 30.1307)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202998 #988F20
analogous
#206598 #202998 #532098
triadic
#202998 #982029 #299820
tetradic
#202998 #982065 #988F20 #209853
square
#202998 #982065 #988F20 #209853
split-complementary
#202998 #985320 #659820
monochromatic
#0B0E33 #151B65 #202998 #2B37CB #5761DC

Accessibility & contrast

On white

11.46
#202998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#202998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202998
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202998#FFFFFF#000000##FFFFFF
##2029981.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003496
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202998;
/* rgb */ color: rgb(32, 41, 152);
/* oklch */ color: oklch(36.2% 0.177 270.3);
Tailwind
colors: {
  custom: {
    50: '#7163b7',
    500: '#202998',
    950: '#000000',
  },
}
SCSS
$custom: #202998;
$custom-light: #7163b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202998",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 235.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36176,
    "c": 0.17675,
    "h": 270.3
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#202998
secondary
#BFB754
accent
#DC40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #202998

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

Preview Lab → · Contrast checker → · Palette generator →

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