#161B8F#161B8F

#161B8F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.182 H 269.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#161B8F
RGBrgb(22, 27, 143)
HSLhsl(238, 73%, 32%)
HSVhsv(238, 85%, 56%)
CMYKcmyk(84.6%, 81.1%, 0%, 43.9%)
CIE-LABlab(19.79, 41.21, -62.77)
CIE-LCHlch(19.79, 75.09, 303.28°)
OKLaboklab(32.62% -0.0032 -0.1818)
OKLCHoklch(32.62% 0.182 269)
XYZxyz(5.6790, 2.9369, 26.2488)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B8F #8F8A16
analogous
#16578F #161B8F #4E168F
triadic
#161B8F #8F161B #1B8F16
tetradic
#161B8F #8F1657 #8F8A16 #168F4E
square
#161B8F #8F1657 #8F8A16 #168F4E
split-complementary
#161B8F #8F4E16 #578F16
monochromatic
#060725 #0E115A #161B8F #1E25C4 #3E45E1

Accessibility & contrast

On white

13.23
#161B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#161B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B8F
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B8F#FFFFFF#000000##FFFFFF
##161B8F1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #161b8f;
/* rgb */ color: rgb(22, 27, 143);
/* oklch */ color: oklch(32.6% 0.182 269.0);
Tailwind
colors: {
  custom: {
    50: '#6d5ab1',
    500: '#161b8f',
    950: '#000000',
  },
}
SCSS
$custom: #161b8f;
$custom-light: #6d5ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#161b8f",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 237.521,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32619,
    "c": 0.18185,
    "h": 269
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#161B8F
secondary
#C1BC3F
accent
#E838F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #161B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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