#201789#201789

#201789 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.175 H 273.6°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#201789
RGBrgb(32, 23, 137)
HSLhsl(245, 71%, 31%)
HSVhsv(245, 83%, 54%)
CMYKcmyk(76.6%, 83.2%, 0%, 46.3%)
CIE-LABlab(18.91, 41.93, -60.46)
CIE-LCHlch(18.91, 73.58, 304.74°)
OKLaboklab(31.95% 0.0111 -0.1749)
OKLCHoklch(31.95% 0.175 273.6)
XYZxyz(5.4159, 2.7255, 23.9027)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201789 #808917
analogous
#174789 #201789 #591789
triadic
#201789 #892017 #178920
tetradic
#201789 #891747 #808917 #178959
square
#201789 #891747 #808917 #178959
split-complementary
#201789 #895917 #478917
monochromatic
#080520 #140E55 #201789 #2C20BD #493CDE

Accessibility & contrast

On white

13.59
#201789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#201789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201789
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201789#FFFFFF#000000##FFFFFF
##2017891.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201789;
/* rgb */ color: rgb(32, 23, 137);
/* oklch */ color: oklch(31.9% 0.175 273.6);
Tailwind
colors: {
  custom: {
    50: '#6f58ad',
    500: '#201789',
    950: '#000000',
  },
}
SCSS
$custom: #201789;
$custom-light: #6f58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#201789",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 244.737,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31946,
    "c": 0.17524,
    "h": 273.6
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#201789
secondary
#B3BD3F
accent
#EE3AE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #201789

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

Preview Lab → · Contrast checker → · Palette generator →

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