#161770#161770

#161770 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.147 H 271.6°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#161770
RGBrgb(22, 23, 112)
HSLhsl(239, 67%, 26%)
HSVhsv(239, 80%, 44%)
CMYKcmyk(80.4%, 79.5%, 0%, 56.1%)
CIE-LABlab(15.24, 32.66, -50.61)
CIE-LCHlch(15.24, 60.23, 302.84°)
OKLaboklab(28.32% 0.0041 -0.1465)
OKLCHoklch(28.32% 0.147 271.6)
XYZxyz(3.5609, 1.9528, 15.5154)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161770 #706F16
analogous
#164470 #161770 #421670
triadic
#161770 #701617 #177016
tetradic
#161770 #701644 #706F16 #167042
square
#161770 #701644 #706F16 #167042
split-complementary
#161770 #704216 #447016
monochromatic
#05051A #0C0C3D #161770 #2022A3 #2B2DD5

Accessibility & contrast

On white

15.10
#161770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#161770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161770
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161770#FFFFFF#000000##FFFFFF
##1617701.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161770;
/* rgb */ color: rgb(22, 23, 112);
/* oklch */ color: oklch(28.3% 0.147 271.6);
Tailwind
colors: {
  custom: {
    50: '#65559a',
    500: '#161770',
    950: '#000000',
  },
}
SCSS
$custom: #161770;
$custom-light: #65559a;
$custom-dark: #000000;
JSON
{
  "hex": "#161770",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 239.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28322,
    "c": 0.14657,
    "h": 271.6
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#161770
secondary
#A6A53C
accent
#E83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161770

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

Preview Lab → · Contrast checker → · Palette generator →

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