#161D7C#161D7C

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

Color values

HEX#161D7C
RGBrgb(22, 29, 124)
HSLhsl(236, 70%, 29%)
HSVhsv(236, 82%, 49%)
CMYKcmyk(82.3%, 76.6%, 0%, 51.4%)
CIE-LABlab(17.94, 33.35, -53.87)
CIE-LCHlch(17.94, 63.35, 301.76°)
OKLaboklab(30.65% -0.0005 -0.156)
OKLCHoklch(30.65% 0.156 269.8)
XYZxyz(4.4071, 2.5040, 19.3159)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D7C #7C7516
analogous
#16507C #161D7C #42167C
triadic
#161D7C #7C161D #1D7C16
tetradic
#161D7C #7C1650 #7C7516 #167C42
square
#161D7C #7C1650 #7C7516 #167C42
split-complementary
#161D7C #7C4216 #507C16
monochromatic
#05061A #0D1148 #161D7C #1F29B0 #323DDB

Accessibility & contrast

On white

13.99
#161D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D7C
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D7C#FFFFFF#000000##FFFFFF
##161D7C1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161d7c;
/* rgb */ color: rgb(22, 29, 124);
/* oklch */ color: oklch(30.6% 0.156 269.8);
Tailwind
colors: {
  custom: {
    50: '#685aa3',
    500: '#161d7c',
    950: '#000000',
  },
}
SCSS
$custom: #161d7c;
$custom-light: #685aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#161d7c",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 235.882,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3065,
    "c": 0.15603,
    "h": 269.8
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#161D7C
secondary
#B1A93D
accent
#E03BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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