#161B9F#161B9F

#161B9F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.6% C 0.201 H 268.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#161B9F
RGBrgb(22, 27, 159)
HSLhsl(238, 76%, 35%)
HSVhsv(238, 86%, 62%)
CMYKcmyk(86.2%, 83%, 0%, 37.6%)
CIE-LABlab(21.79, 46.49, -69.32)
CIE-LCHlch(21.79, 83.47, 303.85°)
OKLaboklab(34.59% -0.0062 -0.2008)
OKLCHoklch(34.59% 0.201 268.2)
XYZxyz(6.9787, 3.4568, 33.0936)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B9F #9F9A16
analogous
#165F9F #161B9F #55169F
triadic
#161B9F #9F161B #1B9F16
tetradic
#161B9F #9F165F #9F9A16 #169F55
square
#161B9F #9F165F #9F9A16 #169F55
split-complementary
#161B9F #9F5516 #5F9F16
monochromatic
#070933 #0F1269 #161B9F #1D24D5 #4A4FE6

Accessibility & contrast

On white

12.41
#161B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#161B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B9F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B9F#FFFFFF#000000##FFFFFF
##161B9F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161b9f;
/* rgb */ color: rgb(22, 27, 159);
/* oklch */ color: oklch(34.6% 0.201 268.2);
Tailwind
colors: {
  custom: {
    50: '#725bbd',
    500: '#161b9f',
    950: '#000000',
  },
}
SCSS
$custom: #161b9f;
$custom-light: #725bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#161b9f",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 237.81,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34586,
    "c": 0.20087,
    "h": 268.2
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#161B9F
secondary
#C7C34A
accent
#EB36F2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #161B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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