#161670#161670

#161670 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.148 H 271.8°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#161670
RGBrgb(22, 22, 112)
HSLhsl(240, 67%, 26%)
HSVhsv(240, 80%, 44%)
CMYKcmyk(80.4%, 80.4%, 0%, 56.1%)
CIE-LABlab(15.03, 33.26, -50.95)
CIE-LCHlch(15.03, 60.84, 303.13°)
OKLaboklab(28.18% 0.0045 -0.1475)
OKLCHoklch(28.18% 0.148 271.8)
XYZxyz(3.5414, 1.9139, 15.5089)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161670 #707016
analogous
#164370 #161670 #431670
triadic
#161670 #701616 #167016
tetradic
#161670 #701643 #707016 #167043
square
#161670 #701643 #707016 #167043
split-complementary
#161670 #704316 #437016
monochromatic
#05051A #0C0C3D #161670 #2020A3 #2B2BD5

Accessibility & contrast

On white

15.19
#161670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#161670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161670
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161670#FFFFFF#000000##FFFFFF
##1616701.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00216E
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161670;
/* rgb */ color: rgb(22, 22, 112);
/* oklch */ color: oklch(28.2% 0.148 271.8);
Tailwind
colors: {
  custom: {
    50: '#65559a',
    500: '#161670',
    950: '#000000',
  },
}
SCSS
$custom: #161670;
$custom-light: #65559a;
$custom-dark: #000000;
JSON
{
  "hex": "#161670",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 240,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28175,
    "c": 0.14757,
    "h": 271.8
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#161670
secondary
#A6A63C
accent
#EA3EEA
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161670

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

Preview Lab → · Contrast checker → · Palette generator →

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