#161237#161237

#161237 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.070 H 283.7°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#161237
RGBrgb(22, 18, 55)
HSLhsl(246, 51%, 14%)
HSVhsv(246, 67%, 22%)
CMYKcmyk(60%, 67.3%, 0%, 78.4%)
CIE-LABlab(7.94, 14.41, -23.61)
CIE-LCHlch(7.94, 27.66, 301.39°)
OKLaboklab(21.23% 0.0164 -0.0675)
OKLCHoklch(21.23% 0.07 283.7)
XYZxyz(1.2366, 0.8790, 3.7182)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161237 #333712
analogous
#122137 #161237 #291237
triadic
#161237 #371612 #123716
tetradic
#161237 #371221 #333712 #123729
square
#161237 #371221 #333712 #123729
split-complementary
#161237 #372912 #213712
monochromatic
#090817 #090817 #161237 #282165 #3B3093

Accessibility & contrast

On white

17.86
#161237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#161237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161237
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161237#FFFFFF#000000##FFFFFF
##1612371.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001938
Deuteranopia (green-blind)
#001636
Tritanopia (blue-blind)
#091A22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #161237;
/* rgb */ color: rgb(22, 18, 55);
/* oklch */ color: oklch(21.2% 0.070 283.7);
Tailwind
colors: {
  custom: {
    50: '#574f6e',
    500: '#161237',
    950: '#000000',
  },
}
SCSS
$custom: #161237;
$custom-light: #574f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#161237",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 246.486,
    "s": 50.685,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21229,
    "c": 0.06951,
    "h": 283.7
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#161237
secondary
#697035
accent
#DA4ECB
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #161237

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

Preview Lab → · Contrast checker → · Palette generator →

#161237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva