#161C8F#161C8F

#161C8F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.181 H 268.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#161C8F
RGBrgb(22, 28, 143)
HSLhsl(237, 73%, 32%)
HSVhsv(237, 85%, 56%)
CMYKcmyk(84.6%, 80.4%, 0%, 43.9%)
CIE-LABlab(19.98, 40.66, -62.46)
CIE-LCHlch(19.98, 74.53, 303.07°)
OKLaboklab(32.75% -0.0034 -0.1809)
OKLCHoklch(32.75% 0.181 268.9)
XYZxyz(5.7024, 2.9836, 26.2566)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C8F #8F8916
analogous
#16588F #161C8F #4D168F
triadic
#161C8F #8F161C #1C8F16
tetradic
#161C8F #8F1658 #8F8916 #168F4D
square
#161C8F #8F1658 #8F8916 #168F4D
split-complementary
#161C8F #8F4D16 #588F16
monochromatic
#060725 #0E125A #161C8F #1E26C4 #3E46E1

Accessibility & contrast

On white

13.15
#161C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#161C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C8F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C8F#FFFFFF#000000##FFFFFF
##161C8F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #161c8f;
/* rgb */ color: rgb(22, 28, 143);
/* oklch */ color: oklch(32.8% 0.181 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d5ab1',
    500: '#161c8f',
    950: '#000000',
  },
}
SCSS
$custom: #161c8f;
$custom-light: #6d5ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#161c8f",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 237.025,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32751,
    "c": 0.18096,
    "h": 268.9
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#161C8F
secondary
#C1BB3F
accent
#E738F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #161C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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