#161D8F#161D8F

#161D8F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.180 H 268.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#161D8F
RGBrgb(22, 29, 143)
HSLhsl(237, 73%, 32%)
HSVhsv(237, 85%, 56%)
CMYKcmyk(84.6%, 79.7%, 0%, 43.9%)
CIE-LABlab(20.17, 40.11, -62.14)
CIE-LCHlch(20.17, 73.95, 302.84°)
OKLaboklab(32.89% -0.0037 -0.18)
OKLCHoklch(32.89% 0.18 268.8)
XYZxyz(5.7265, 3.0318, 26.2647)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D8F #8F8816
analogous
#16598F #161D8F #4C168F
triadic
#161D8F #8F161D #1D8F16
tetradic
#161D8F #8F1659 #8F8816 #168F4C
square
#161D8F #8F1659 #8F8816 #168F4C
split-complementary
#161D8F #8F4C16 #598F16
monochromatic
#060725 #0E125A #161D8F #1E28C4 #3E48E1

Accessibility & contrast

On white

13.07
#161D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#161D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D8F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D8F#FFFFFF#000000##FFFFFF
##161D8F1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #161d8f;
/* rgb */ color: rgb(22, 29, 143);
/* oklch */ color: oklch(32.9% 0.180 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d5bb1',
    500: '#161d8f',
    950: '#000000',
  },
}
SCSS
$custom: #161d8f;
$custom-light: #6d5bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#161d8f",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 236.529,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32886,
    "c": 0.18006,
    "h": 268.8
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#161D8F
secondary
#C1BA3F
accent
#E538F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #161D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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