#161F60#161F60

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

Color values

HEX#161F60
RGBrgb(22, 31, 96)
HSLhsl(233, 63%, 23%)
HSVhsv(233, 77%, 38%)
CMYKcmyk(77.1%, 67.7%, 0%, 62.4%)
CIE-LABlab(15.46, 21.20, -39.73)
CIE-LCHlch(15.46, 45.03, 298.08°)
OKLaboklab(27.96% 0.0016 -0.1148)
OKLCHoklch(27.96% 0.115 270.8)
XYZxyz(2.9315, 1.9948, 11.2946)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F60 #605716
analogous
#164460 #161F60 #321660
triadic
#161F60 #60161F #1F6016
tetradic
#161F60 #601644 #605716 #166032
square
#161F60 #601644 #605716 #166032
split-complementary
#161F60 #603216 #446016
monochromatic
#060819 #0B0F2E #161F60 #212F92 #2D3FC4

Accessibility & contrast

On white

15.01
#161F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#161F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F60
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F60#FFFFFF#000000##FFFFFF
##161F601.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161f60;
/* rgb */ color: rgb(22, 31, 96);
/* oklch */ color: oklch(28.0% 0.115 270.8);
Tailwind
colors: {
  custom: {
    50: '#605a8e',
    500: '#161f60',
    950: '#000000',
  },
}
SCSS
$custom: #161f60;
$custom-light: #605a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#161f60",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 232.703,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27963,
    "c": 0.1148,
    "h": 270.8
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#161F60
secondary
#978C3B
accent
#D242E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161F60

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

Preview Lab → · Contrast checker → · Palette generator →

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