#202698#202698

#202698 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.180 H 270.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#202698
RGBrgb(32, 38, 152)
HSLhsl(237, 65%, 36%)
HSVhsv(237, 79%, 60%)
CMYKcmyk(78.9%, 75%, 0%, 40.4%)
CIE-LABlab(23.54, 38.71, -62.12)
CIE-LCHlch(23.54, 73.19, 301.93°)
OKLaboklab(35.71% 0.0022 -0.1799)
OKLCHoklch(35.71% 0.18 270.7)
XYZxyz(6.9543, 3.9595, 30.0974)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202698 #989220
analogous
#206298 #202698 #562098
triadic
#202698 #982026 #269820
tetradic
#202698 #982062 #989220 #209856
square
#202698 #982062 #989220 #209856
split-complementary
#202698 #985620 #629820
monochromatic
#0B0D33 #151965 #202698 #2B33CB #575DDC

Accessibility & contrast

On white

11.72
#202698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#202698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202698
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202698#FFFFFF#000000##FFFFFF
##2026981.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202698;
/* rgb */ color: rgb(32, 38, 152);
/* oklch */ color: oklch(35.7% 0.180 270.7);
Tailwind
colors: {
  custom: {
    50: '#7261b8',
    500: '#202698',
    950: '#000000',
  },
}
SCSS
$custom: #202698;
$custom-light: #7261b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202698",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 237,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35709,
    "c": 0.17988,
    "h": 270.7
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#202698
secondary
#BFBA54
accent
#E040E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202698

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

Preview Lab → · Contrast checker → · Palette generator →

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