#161F3F#161F3F

#161F3F is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.062 H 269.7°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#161F3F
RGBrgb(22, 31, 63)
HSLhsl(227, 48%, 17%)
HSVhsv(227, 65%, 25%)
CMYKcmyk(65.1%, 50.8%, 0%, 75.3%)
CIE-LABlab(12.67, 7.65, -21.73)
CIE-LCHlch(12.67, 23.03, 289.40°)
OKLaboklab(24.99% -0.0003 -0.0619)
OKLCHoklch(24.99% 0.062 269.7)
XYZxyz(1.7178, 1.5093, 4.9025)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F3F #3F3616
analogous
#16343F #161F3F #22163F
triadic
#161F3F #3F161F #1F3F16
tetradic
#161F3F #3F1634 #3F3616 #163F22
square
#161F3F #3F1634 #3F3616 #163F22
split-complementary
#161F3F #3F2216 #343F16
monochromatic
#080B17 #080B17 #161F3F #26356C #364C9A

Accessibility & contrast

On white

16.13
#161F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F3F
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F3F#FFFFFF#000000##FFFFFF
##161F3F1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112340
Deuteranopia (green-blind)
#0B1F3E
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161f3f;
/* rgb */ color: rgb(22, 31, 63);
/* oklch */ color: oklch(25.0% 0.062 269.7);
Tailwind
colors: {
  custom: {
    50: '#575a74',
    500: '#161f3f',
    950: '#000000',
  },
}
SCSS
$custom: #161f3f;
$custom-light: #575a74;
$custom-dark: #000000;
JSON
{
  "hex": "#161f3f",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 226.829,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2499,
    "c": 0.06187,
    "h": 269.7
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#161F3F
secondary
#76693B
accent
#BA50D8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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