#161A9F#161A9F

#161A9F is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.5% C 0.202 H 268.3°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#161A9F
RGBrgb(22, 26, 159)
HSLhsl(238, 76%, 35%)
HSVhsv(238, 86%, 62%)
CMYKcmyk(86.2%, 83.6%, 0%, 37.6%)
CIE-LABlab(21.62, 46.98, -69.59)
CIE-LCHlch(21.62, 83.97, 304.02°)
OKLaboklab(34.47% -0.006 -0.2015)
OKLCHoklch(34.47% 0.202 268.3)
XYZxyz(6.9561, 3.4117, 33.0861)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A9F #9F9B16
analogous
#165E9F #161A9F #56169F
triadic
#161A9F #9F161A #1A9F16
tetradic
#161A9F #9F165E #9F9B16 #169F56
square
#161A9F #9F165E #9F9B16 #169F56
split-complementary
#161A9F #9F5616 #5E9F16
monochromatic
#070833 #0F1169 #161A9F #1D23D5 #4A4EE6

Accessibility & contrast

On white

12.48
#161A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#161A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A9F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A9F#FFFFFF#000000##FFFFFF
##161A9F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002C9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #161a9f;
/* rgb */ color: rgb(22, 26, 159);
/* oklch */ color: oklch(34.5% 0.202 268.3);
Tailwind
colors: {
  custom: {
    50: '#725abd',
    500: '#161a9f',
    950: '#000000',
  },
}
SCSS
$custom: #161a9f;
$custom-light: #725abd;
$custom-dark: #000000;
JSON
{
  "hex": "#161a9f",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 238.248,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34471,
    "c": 0.20163,
    "h": 268.3
  },
  "luminance": 0.03413
}

Semantic roles & 50–950 ramp

primary
#161A9F
secondary
#C7C44A
accent
#ED36F2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #161A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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