#161F4B#161F4B

#161F4B is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.082 H 270.9°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#161F4B
RGBrgb(22, 31, 75)
HSLhsl(230, 55%, 19%)
HSVhsv(230, 71%, 29%)
CMYKcmyk(70.7%, 58.7%, 0%, 70.6%)
CIE-LABlab(13.58, 12.58, -28.60)
CIE-LCHlch(13.58, 31.24, 293.74°)
OKLaboklab(25.98% 0.0013 -0.0821)
OKLCHoklch(25.98% 0.082 270.9)
XYZxyz(2.0904, 1.6584, 6.8652)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F4B #4B4216
analogous
#163A4B #161F4B #28164B
triadic
#161F4B #4B161F #1F4B16
tetradic
#161F4B #4B163A #4B4216 #164B28
square
#161F4B #4B163A #4B4216 #164B28
split-complementary
#161F4B #4B2816 #3A4B16
monochromatic
#070A18 #080B1C #161F4B #24337A #3246AA

Accessibility & contrast

On white

15.77
#161F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#161F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F4B
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F4B#FFFFFF#000000##FFFFFF
##161F4B1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161f4b;
/* rgb */ color: rgb(22, 31, 75);
/* oklch */ color: oklch(26.0% 0.082 270.9);
Tailwind
colors: {
  custom: {
    50: '#5a5a7e',
    500: '#161f4b',
    950: '#000000',
  },
}
SCSS
$custom: #161f4b;
$custom-light: #5a5a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#161f4b",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 229.811,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25978,
    "c": 0.08209,
    "h": 270.9
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#161F4B
secondary
#83763A
accent
#C54ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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