#161D7B#161D7B

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

Color values

HEX#161D7B
RGBrgb(22, 29, 123)
HSLhsl(236, 70%, 28%)
HSVhsv(236, 82%, 48%)
CMYKcmyk(82.1%, 76.4%, 0%, 51.8%)
CIE-LABlab(17.82, 32.98, -53.42)
CIE-LCHlch(17.82, 62.78, 301.69°)
OKLaboklab(30.54% -0.0003 -0.1547)
OKLCHoklch(30.54% 0.155 269.9)
XYZxyz(4.3442, 2.4789, 18.9846)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D7B #7B7416
analogous
#164F7B #161D7B #41167B
triadic
#161D7B #7B161D #1D7B16
tetradic
#161D7B #7B164F #7B7416 #167B41
square
#161D7B #7B164F #7B7416 #167B41
split-complementary
#161D7B #7B4116 #4F7B16
monochromatic
#05061A #0D1147 #161D7B #1F29AF #313DDA

Accessibility & contrast

On white

14.04
#161D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D7B
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D7B#FFFFFF#000000##FFFFFF
##161D7B1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161d7b;
/* rgb */ color: rgb(22, 29, 123);
/* oklch */ color: oklch(30.5% 0.155 269.9);
Tailwind
colors: {
  custom: {
    50: '#685aa2',
    500: '#161d7b',
    950: '#000000',
  },
}
SCSS
$custom: #161d7b;
$custom-light: #685aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#161d7b",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 235.842,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30535,
    "c": 0.15473,
    "h": 269.9
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#161D7B
secondary
#B0A83D
accent
#E03BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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