#202289#202289

#202289 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.165 H 272.3°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#202289
RGBrgb(32, 34, 137)
HSLhsl(239, 62%, 33%)
HSVhsv(239, 77%, 54%)
CMYKcmyk(76.6%, 75.2%, 0%, 46.3%)
CIE-LABlab(21.04, 35.83, -56.93)
CIE-LCHlch(21.04, 67.26, 302.18°)
OKLaboklab(33.45% 0.0065 -0.1648)
OKLCHoklch(33.45% 0.165 272.3)
XYZxyz(5.6815, 3.2567, 23.9912)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202289 #898720
analogous
#205689 #202289 #522089
triadic
#202289 #892022 #228920
tetradic
#202289 #892056 #898720 #208952
square
#202289 #892056 #898720 #208952
split-complementary
#202289 #895220 #568920
monochromatic
#090926 #141657 #202289 #2C2EBB #4E50D6

Accessibility & contrast

On white

12.72
#202289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#202289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202289
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202289#FFFFFF#000000##FFFFFF
##2022891.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202289;
/* rgb */ color: rgb(32, 34, 137);
/* oklch */ color: oklch(33.4% 0.165 272.3);
Tailwind
colors: {
  custom: {
    50: '#6e5ead',
    500: '#202289',
    950: '#000000',
  },
}
SCSS
$custom: #202289;
$custom-light: #6e5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#202289",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 238.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33447,
    "c": 0.16489,
    "h": 272.3
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#202289
secondary
#B9B74C
accent
#E243E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202289

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

Preview Lab → · Contrast checker → · Palette generator →

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