#161970#161970

#161970 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.144 H 271.3°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#161970
RGBrgb(22, 25, 112)
HSLhsl(238, 67%, 26%)
HSVhsv(238, 80%, 44%)
CMYKcmyk(80.4%, 77.7%, 0%, 56.1%)
CIE-LABlab(15.67, 31.43, -49.89)
CIE-LCHlch(15.67, 58.97, 302.21°)
OKLaboklab(28.63% 0.0032 -0.1444)
OKLCHoklch(28.63% 0.144 271.3)
XYZxyz(3.6021, 2.0353, 15.5291)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161970 #706D16
analogous
#164670 #161970 #401670
triadic
#161970 #701619 #197016
tetradic
#161970 #701646 #706D16 #167040
square
#161970 #701646 #706D16 #167040
split-complementary
#161970 #704016 #467016
monochromatic
#05061A #0C0E3D #161970 #2024A3 #2B31D5

Accessibility & contrast

On white

14.92
#161970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#161970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161970
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161970#FFFFFF#000000##FFFFFF
##1619701.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161970;
/* rgb */ color: rgb(22, 25, 112);
/* oklch */ color: oklch(28.6% 0.144 271.3);
Tailwind
colors: {
  custom: {
    50: '#65579a',
    500: '#161970',
    950: '#000000',
  },
}
SCSS
$custom: #161970;
$custom-light: #65579a;
$custom-dark: #000000;
JSON
{
  "hex": "#161970",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 238,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2863,
    "c": 0.14448,
    "h": 271.3
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#161970
secondary
#A6A23C
accent
#E43EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161970

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

Preview Lab → · Contrast checker → · Palette generator →

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