#161C66#161C66

#161C66 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.0% C 0.127 H 271.4°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#161C66
RGBrgb(22, 28, 102)
HSLhsl(236, 65%, 24%)
HSVhsv(236, 78%, 40%)
CMYKcmyk(78.4%, 72.5%, 0%, 60%)
CIE-LABlab(15.28, 25.68, -44.00)
CIE-LCHlch(15.28, 50.95, 300.27°)
OKLaboklab(28.02% 0.0031 -0.1273)
OKLCHoklch(28.02% 0.127 271.4)
XYZxyz(3.1436, 1.9601, 12.7805)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C66 #666016
analogous
#164466 #161C66 #381666
triadic
#161C66 #66161C #1C6616
tetradic
#161C66 #661644 #666016 #166638
square
#161C66 #661644 #666016 #166638
split-complementary
#161C66 #663816 #446616
monochromatic
#050719 #0B0E34 #161C66 #212A98 #2C38CB

Accessibility & contrast

On white

15.09
#161C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#161C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C66
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C66#FFFFFF#000000##FFFFFF
##161C661.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161c66;
/* rgb */ color: rgb(22, 28, 102);
/* oklch */ color: oklch(28.0% 0.127 271.4);
Tailwind
colors: {
  custom: {
    50: '#625892',
    500: '#161c66',
    950: '#000000',
  },
}
SCSS
$custom: #161c66;
$custom-light: #625892;
$custom-dark: #000000;
JSON
{
  "hex": "#161c66",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 235.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28015,
    "c": 0.12733,
    "h": 271.4
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#161C66
secondary
#9D953B
accent
#DB40E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161C66

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

Preview Lab → · Contrast checker → · Palette generator →

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