#201874#201874

#201874 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.148 H 276.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#201874
RGBrgb(32, 24, 116)
HSLhsl(245, 66%, 27%)
HSVhsv(245, 79%, 45%)
CMYKcmyk(72.4%, 79.3%, 0%, 54.5%)
CIE-LABlab(16.61, 34.44, -50.91)
CIE-LCHlch(16.61, 61.46, 304.07°)
OKLaboklab(29.61% 0.0161 -0.1472)
OKLCHoklch(29.61% 0.148 276.2)
XYZxyz(4.0737, 2.2209, 16.7336)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201874 #6C7418
analogous
#183E74 #201874 #4E1874
triadic
#201874 #742018 #187420
tetradic
#201874 #74183E #6C7418 #18744E
square
#201874 #74183E #6C7418 #18744E
split-complementary
#201874 #744E18 #3E7418
monochromatic
#070519 #120E41 #201874 #2E22A7 #4032D5

Accessibility & contrast

On white

14.54
#201874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201874
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201874#FFFFFF#000000##FFFFFF
##2018741.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #201874;
/* rgb */ color: rgb(32, 24, 116);
/* oklch */ color: oklch(29.6% 0.148 276.2);
Tailwind
colors: {
  custom: {
    50: '#6a579d',
    500: '#201874',
    950: '#000000',
  },
}
SCSS
$custom: #201874;
$custom-light: #6a579d;
$custom-dark: #000000;
JSON
{
  "hex": "#201874",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 245.217,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29609,
    "c": 0.14804,
    "h": 276.2
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#201874
secondary
#A0A93F
accent
#E93FDA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201874

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

Preview Lab → · Contrast checker → · Palette generator →

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