#161A66#161A66

#161A66 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.130 H 271.9°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#161A66
RGBrgb(22, 26, 102)
HSLhsl(237, 65%, 24%)
HSVhsv(237, 78%, 40%)
CMYKcmyk(78.4%, 74.5%, 0%, 60%)
CIE-LABlab(14.78, 27.04, -44.82)
CIE-LCHlch(14.78, 52.34, 301.10°)
OKLaboklab(27.66% 0.0044 -0.1297)
OKLCHoklch(27.66% 0.13 271.9)
XYZxyz(3.0977, 1.8683, 12.7652)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A66 #666216
analogous
#164266 #161A66 #3A1666
triadic
#161A66 #66161A #1A6616
tetradic
#161A66 #661642 #666216 #16663A
square
#161A66 #661642 #666216 #16663A
split-complementary
#161A66 #663A16 #426616
monochromatic
#050619 #0B0D34 #161A66 #212798 #2C34CB

Accessibility & contrast

On white

15.29
#161A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A66
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A66#FFFFFF#000000##FFFFFF
##161A661.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161a66;
/* rgb */ color: rgb(22, 26, 102);
/* oklch */ color: oklch(27.7% 0.130 271.9);
Tailwind
colors: {
  custom: {
    50: '#625793',
    500: '#161a66',
    950: '#000000',
  },
}
SCSS
$custom: #161a66;
$custom-light: #625793;
$custom-dark: #000000;
JSON
{
  "hex": "#161a66",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 237,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27657,
    "c": 0.12974,
    "h": 271.9
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#161A66
secondary
#9D983B
accent
#DF40E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161A66

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

Preview Lab → · Contrast checker → · Palette generator →

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