#201974#201974

#201974 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.147 H 276.1°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#201974
RGBrgb(32, 25, 116)
HSLhsl(245, 65%, 28%)
HSVhsv(245, 78%, 45%)
CMYKcmyk(72.4%, 78.4%, 0%, 54.5%)
CIE-LABlab(16.81, 33.85, -50.57)
CIE-LCHlch(16.81, 60.86, 303.80°)
OKLaboklab(29.75% 0.0155 -0.1462)
OKLCHoklch(29.75% 0.147 276.1)
XYZxyz(4.0946, 2.2629, 16.7406)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201974 #6D7419
analogous
#194074 #201974 #4D1974
triadic
#201974 #742019 #197420
tetradic
#201974 #741940 #6D7419 #19744D
square
#201974 #741940 #6D7419 #19744D
split-complementary
#201974 #744D19 #407419
monochromatic
#070519 #120E42 #201974 #2E24A6 #4034D3

Accessibility & contrast

On white

14.46
#201974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#201974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201974
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201974#FFFFFF#000000##FFFFFF
##2019741.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.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: #201974;
/* rgb */ color: rgb(32, 25, 116);
/* oklch */ color: oklch(29.8% 0.147 276.1);
Tailwind
colors: {
  custom: {
    50: '#6a579d',
    500: '#201974',
    950: '#000000',
  },
}
SCSS
$custom: #201974;
$custom-light: #6a579d;
$custom-dark: #000000;
JSON
{
  "hex": "#201974",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 244.615,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29753,
    "c": 0.14701,
    "h": 276.1
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#201974
secondary
#A1A940
accent
#E840DB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201974

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

Preview Lab → · Contrast checker → · Palette generator →

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