#161B70#161B70

#161B70 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.142 H 270.9°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#161B70
RGBrgb(22, 27, 112)
HSLhsl(237, 67%, 26%)
HSVhsv(237, 80%, 44%)
CMYKcmyk(80.4%, 75.9%, 0%, 56.1%)
CIE-LABlab(16.12, 30.17, -49.14)
CIE-LCHlch(16.12, 57.66, 301.55°)
OKLaboklab(28.95% 0.0023 -0.1423)
OKLCHoklch(28.95% 0.142 270.9)
XYZxyz(3.6464, 2.1239, 15.5439)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B70 #706B16
analogous
#164870 #161B70 #3E1670
triadic
#161B70 #70161B #1B7016
tetradic
#161B70 #701648 #706B16 #16703E
square
#161B70 #701648 #706B16 #16703E
split-complementary
#161B70 #703E16 #487016
monochromatic
#05061A #0C0F3D #161B70 #2027A3 #2B34D5

Accessibility & contrast

On white

14.74
#161B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B70
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B70#FFFFFF#000000##FFFFFF
##161B701.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161b70;
/* rgb */ color: rgb(22, 27, 112);
/* oklch */ color: oklch(29.0% 0.142 270.9);
Tailwind
colors: {
  custom: {
    50: '#65589a',
    500: '#161b70',
    950: '#000000',
  },
}
SCSS
$custom: #161b70;
$custom-light: #65589a;
$custom-dark: #000000;
JSON
{
  "hex": "#161b70",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 236.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28953,
    "c": 0.1423,
    "h": 270.9
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#161B70
secondary
#A6A03C
accent
#E03EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161B70

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

Preview Lab → · Contrast checker → · Palette generator →

#161B70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva