#161D6F#161D6F

#161D6F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.139 H 270.6°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#161D6F
RGBrgb(22, 29, 111)
HSLhsl(235, 67%, 26%)
HSVhsv(235, 80%, 44%)
CMYKcmyk(80.2%, 73.9%, 0%, 56.5%)
CIE-LABlab(16.49, 28.48, -47.89)
CIE-LCHlch(16.49, 55.72, 300.74°)
OKLaboklab(29.18% 0.0014 -0.1386)
OKLCHoklch(29.18% 0.139 270.6)
XYZxyz(3.6385, 2.1966, 15.2681)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D6F #6F6816
analogous
#16496F #161D6F #3B166F
triadic
#161D6F #6F161D #1D6F16
tetradic
#161D6F #6F1649 #6F6816 #166F3B
square
#161D6F #6F1649 #6F6816 #166F3B
split-complementary
#161D6F #6F3B16 #496F16
monochromatic
#05071A #0C103C #161D6F #202AA2 #2B38D5

Accessibility & contrast

On white

14.59
#161D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#161D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D6F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D6F#FFFFFF#000000##FFFFFF
##161D6F1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161d6f;
/* rgb */ color: rgb(22, 29, 111);
/* oklch */ color: oklch(29.2% 0.139 270.6);
Tailwind
colors: {
  custom: {
    50: '#645999',
    500: '#161d6f',
    950: '#000000',
  },
}
SCSS
$custom: #161d6f;
$custom-light: #645999;
$custom-dark: #000000;
JSON
{
  "hex": "#161d6f",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 235.281,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2918,
    "c": 0.13866,
    "h": 270.6
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#161D6F
secondary
#A59D3C
accent
#DC3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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