#161870#161870

#161870 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.146 H 271.4°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#161870
RGBrgb(22, 24, 112)
HSLhsl(239, 67%, 26%)
HSVhsv(239, 80%, 44%)
CMYKcmyk(80.4%, 78.6%, 0%, 56.1%)
CIE-LABlab(15.45, 32.05, -50.25)
CIE-LCHlch(15.45, 59.60, 302.53°)
OKLaboklab(28.47% 0.0037 -0.1455)
OKLCHoklch(28.47% 0.146 271.4)
XYZxyz(3.5812, 1.9933, 15.5221)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161870 #706E16
analogous
#164570 #161870 #411670
triadic
#161870 #701618 #187016
tetradic
#161870 #701645 #706E16 #167041
square
#161870 #701645 #706E16 #167041
split-complementary
#161870 #704116 #457016
monochromatic
#05051A #0C0D3D #161870 #2023A3 #2B2FD5

Accessibility & contrast

On white

15.01
#161870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#161870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161870
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161870#FFFFFF#000000##FFFFFF
##1618701.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161870;
/* rgb */ color: rgb(22, 24, 112);
/* oklch */ color: oklch(28.5% 0.146 271.4);
Tailwind
colors: {
  custom: {
    50: '#65569a',
    500: '#161870',
    950: '#000000',
  },
}
SCSS
$custom: #161870;
$custom-light: #65569a;
$custom-dark: #000000;
JSON
{
  "hex": "#161870",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 238.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28474,
    "c": 0.14554,
    "h": 271.4
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#161870
secondary
#A6A43C
accent
#E63EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161870

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

Preview Lab → · Contrast checker → · Palette generator →

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