#201873#201873

#201873 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.147 H 276.4°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#201873
RGBrgb(32, 24, 115)
HSLhsl(245, 65%, 27%)
HSVhsv(245, 79%, 45%)
CMYKcmyk(72.2%, 79.1%, 0%, 54.9%)
CIE-LABlab(16.49, 34.09, -50.45)
CIE-LCHlch(16.49, 60.89, 304.05°)
OKLaboklab(29.49% 0.0163 -0.1458)
OKLCHoklch(29.49% 0.147 276.4)
XYZxyz(4.0158, 2.1978, 16.4289)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201873 #6B7318
analogous
#183D73 #201873 #4E1873
triadic
#201873 #732018 #187320
tetradic
#201873 #73183D #6B7318 #18734E
square
#201873 #73183D #6B7318 #18734E
split-complementary
#201873 #734E18 #3D7318
monochromatic
#070519 #120D40 #201873 #2E23A6 #4031D4

Accessibility & contrast

On white

14.59
#201873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#201873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201873
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201873#FFFFFF#000000##FFFFFF
##2018731.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #201873;
/* rgb */ color: rgb(32, 24, 115);
/* oklch */ color: oklch(29.5% 0.147 276.4);
Tailwind
colors: {
  custom: {
    50: '#69579c',
    500: '#201873',
    950: '#000000',
  },
}
SCSS
$custom: #201873;
$custom-light: #69579c;
$custom-dark: #000000;
JSON
{
  "hex": "#201873",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 115
  },
  "hsl": {
    "h": 245.275,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29495,
    "c": 0.14673,
    "h": 276.4
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#201873
secondary
#9FA83F
accent
#E83FDA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201873

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

Preview Lab → · Contrast checker → · Palette generator →

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