#161F5E#161F5E

#161F5E is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.112 H 270.8°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#161F5E
RGBrgb(22, 31, 94)
HSLhsl(233, 62%, 23%)
HSVhsv(233, 77%, 37%)
CMYKcmyk(76.6%, 67%, 0%, 63.1%)
CIE-LABlab(15.27, 20.39, -38.72)
CIE-LCHlch(15.27, 43.76, 297.78°)
OKLaboklab(27.76% 0.0016 -0.1118)
OKLCHoklch(27.76% 0.112 270.8)
XYZxyz(2.8406, 1.9584, 10.8158)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F5E #5E5516
analogous
#16435E #161F5E #31165E
triadic
#161F5E #5E161F #1F5E16
tetradic
#161F5E #5E1643 #5E5516 #165E31
square
#161F5E #5E1643 #5E5516 #165E31
split-complementary
#161F5E #5E3116 #435E16
monochromatic
#060819 #0A0F2C #161F5E #222F90 #2D40C1

Accessibility & contrast

On white

15.09
#161F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#161F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F5E
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F5E#FFFFFF#000000##FFFFFF
##161F5E1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#00235D
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161f5e;
/* rgb */ color: rgb(22, 31, 94);
/* oklch */ color: oklch(27.8% 0.112 270.8);
Tailwind
colors: {
  custom: {
    50: '#5f5a8c',
    500: '#161f5e',
    950: '#000000',
  },
}
SCSS
$custom: #161f5e;
$custom-light: #5f5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#161f5e",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 232.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27762,
    "c": 0.11182,
    "h": 270.8
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#161F5E
secondary
#958A3B
accent
#D143E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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