#161C7D#161C7D

#161C7D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.158 H 269.9°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#161C7D
RGBrgb(22, 28, 125)
HSLhsl(237, 70%, 29%)
HSVhsv(237, 82%, 49%)
CMYKcmyk(82.4%, 77.6%, 0%, 51%)
CIE-LABlab(17.83, 34.33, -54.67)
CIE-LCHlch(17.83, 64.56, 302.12°)
OKLaboklab(30.61% -0.0003 -0.1584)
OKLCHoklch(30.61% 0.158 269.9)
XYZxyz(4.4465, 2.4812, 19.6426)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C7D #7D7716
analogous
#16507D #161C7D #44167D
triadic
#161C7D #7D161C #1C7D16
tetradic
#161C7D #7D1650 #7D7716 #167D44
square
#161C7D #7D1650 #7D7716 #167D44
split-complementary
#161C7D #7D4416 #507D16
monochromatic
#05061A #0D1049 #161C7D #1F28B1 #323CDB

Accessibility & contrast

On white

14.03
#161C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#161C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C7D
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C7D#FFFFFF#000000##FFFFFF
##161C7D1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161c7d;
/* rgb */ color: rgb(22, 28, 125);
/* oklch */ color: oklch(30.6% 0.158 269.9);
Tailwind
colors: {
  custom: {
    50: '#6859a4',
    500: '#161c7d',
    950: '#000000',
  },
}
SCSS
$custom: #161c7d;
$custom-light: #6859a4;
$custom-dark: #000000;
JSON
{
  "hex": "#161c7d",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 236.505,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30611,
    "c": 0.15837,
    "h": 269.9
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#161C7D
secondary
#B2AB3D
accent
#E23BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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