#201970#201970

#201970 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.142 H 276.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#201970
RGBrgb(32, 25, 112)
HSLhsl(245, 64%, 27%)
HSVhsv(245, 78%, 44%)
CMYKcmyk(71.4%, 77.7%, 0%, 56.1%)
CIE-LABlab(16.36, 32.47, -48.72)
CIE-LCHlch(16.36, 58.55, 303.68°)
OKLaboklab(29.3% 0.0165 -0.1408)
OKLCHoklch(29.3% 0.142 276.7)
XYZxyz(3.8670, 2.1718, 15.5415)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201970 #697019
analogous
#193D70 #201970 #4C1970
triadic
#201970 #702019 #197020
tetradic
#201970 #70193D #697019 #19704C
square
#201970 #70193D #697019 #19704C
split-complementary
#201970 #704C19 #3D7019
monochromatic
#070619 #120E3E #201970 #2E24A2 #3F32D1

Accessibility & contrast

On white

14.64
#201970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#201970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201970
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201970#FFFFFF#000000##FFFFFF
##2019701.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #201970;
/* rgb */ color: rgb(32, 25, 112);
/* oklch */ color: oklch(29.3% 0.142 276.7);
Tailwind
colors: {
  custom: {
    50: '#69579a',
    500: '#201970',
    950: '#000000',
  },
}
SCSS
$custom: #201970;
$custom-light: #69579a;
$custom-dark: #000000;
JSON
{
  "hex": "#201970",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 244.828,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29304,
    "c": 0.14175,
    "h": 276.7
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#201970
secondary
#9DA540
accent
#E741D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201970

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

Preview Lab → · Contrast checker → · Palette generator →

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