#161D66#161D66

#161D66 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.126 H 271.1°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#161D66
RGBrgb(22, 29, 102)
HSLhsl(235, 65%, 24%)
HSVhsv(235, 78%, 40%)
CMYKcmyk(78.4%, 71.6%, 0%, 60%)
CIE-LABlab(15.53, 25.00, -43.58)
CIE-LCHlch(15.53, 50.24, 299.84°)
OKLaboklab(28.2% 0.0025 -0.1261)
OKLCHoklch(28.2% 0.126 271.1)
XYZxyz(3.1677, 2.0083, 12.7885)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D66 #665F16
analogous
#164566 #161D66 #371666
triadic
#161D66 #66161D #1D6616
tetradic
#161D66 #661645 #665F16 #166637
square
#161D66 #661645 #665F16 #166637
split-complementary
#161D66 #663716 #456616
monochromatic
#050719 #0B0F34 #161D66 #212B98 #2C3ACB

Accessibility & contrast

On white

14.98
#161D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#161D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D66
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D66#FFFFFF#000000##FFFFFF
##161D661.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161d66;
/* rgb */ color: rgb(22, 29, 102);
/* oklch */ color: oklch(28.2% 0.126 271.1);
Tailwind
colors: {
  custom: {
    50: '#625992',
    500: '#161d66',
    950: '#000000',
  },
}
SCSS
$custom: #161d66;
$custom-light: #625992;
$custom-dark: #000000;
JSON
{
  "hex": "#161d66",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 234.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28199,
    "c": 0.12609,
    "h": 271.1
  },
  "luminance": 0.02009
}

Semantic roles & 50–950 ramp

primary
#161D66
secondary
#9D943B
accent
#D940E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161D66

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

Preview Lab → · Contrast checker → · Palette generator →

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