#202388#202388

#202388 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.163 H 272.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#202388
RGBrgb(32, 35, 136)
HSLhsl(238, 62%, 33%)
HSVhsv(238, 76%, 53%)
CMYKcmyk(76.5%, 74.3%, 0%, 46.7%)
CIE-LABlab(21.16, 34.86, -56.12)
CIE-LCHlch(21.16, 66.07, 301.85°)
OKLaboklab(33.49% 0.0062 -0.1624)
OKLCHoklch(33.49% 0.163 272.2)
XYZxyz(5.6391, 3.2861, 23.6249)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202388 #888520
analogous
#205788 #202388 #512088
triadic
#202388 #882023 #238820
tetradic
#202388 #882057 #888520 #208851
square
#202388 #882057 #888520 #208851
split-complementary
#202388 #885120 #578820
monochromatic
#090925 #141656 #202388 #2C30BA #4D51D5

Accessibility & contrast

On white

12.67
#202388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#202388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202388
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202388#FFFFFF#000000##FFFFFF
##2023881.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202388;
/* rgb */ color: rgb(32, 35, 136);
/* oklch */ color: oklch(33.5% 0.163 272.2);
Tailwind
colors: {
  custom: {
    50: '#6e5fac',
    500: '#202388',
    950: '#000000',
  },
}
SCSS
$custom: #202388;
$custom-light: #6e5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#202388",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 238.269,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33494,
    "c": 0.16253,
    "h": 272.2
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#202388
secondary
#B8B54C
accent
#E043E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202388

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

Preview Lab → · Contrast checker → · Palette generator →

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