#161F61#161F61

#161F61 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.116 H 270.7°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#161F61
RGBrgb(22, 31, 97)
HSLhsl(233, 63%, 23%)
HSVhsv(233, 77%, 38%)
CMYKcmyk(77.3%, 68%, 0%, 62%)
CIE-LABlab(15.56, 21.60, -40.24)
CIE-LCHlch(15.56, 45.67, 298.23°)
OKLaboklab(28.06% 0.0015 -0.1163)
OKLCHoklch(28.06% 0.116 270.7)
XYZxyz(2.9778, 2.0133, 11.5386)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F61 #615816
analogous
#164461 #161F61 #321661
triadic
#161F61 #61161F #1F6116
tetradic
#161F61 #611644 #615816 #166132
square
#161F61 #611644 #615816 #166132
split-complementary
#161F61 #613216 #446116
monochromatic
#060819 #0B0F2F #161F61 #212F93 #2D3FC5

Accessibility & contrast

On white

14.97
#161F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161F61
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F61#FFFFFF#000000##FFFFFF
##161F611.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002360
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161f61;
/* rgb */ color: rgb(22, 31, 97);
/* oklch */ color: oklch(28.1% 0.116 270.7);
Tailwind
colors: {
  custom: {
    50: '#605a8f',
    500: '#161f61',
    950: '#000000',
  },
}
SCSS
$custom: #161f61;
$custom-light: #605a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#161f61",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 97
  },
  "hsl": {
    "h": 232.8,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28064,
    "c": 0.11627,
    "h": 270.7
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#161F61
secondary
#988D3B
accent
#D242E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #161F61

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

Preview Lab → · Contrast checker → · Palette generator →

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