#161B90#161B90

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

Color values

HEX#161B90
RGBrgb(22, 27, 144)
HSLhsl(238, 73%, 33%)
HSVhsv(238, 85%, 56%)
CMYKcmyk(84.7%, 81.3%, 0%, 43.5%)
CIE-LABlab(19.91, 41.54, -63.19)
CIE-LCHlch(19.91, 75.62, 303.32°)
OKLaboklab(32.74% -0.0034 -0.183)
OKLCHoklch(32.74% 0.183 268.9)
XYZxyz(5.7551, 2.9674, 26.6496)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B90 #908B16
analogous
#165890 #161B90 #4E1690
triadic
#161B90 #90161B #1B9016
tetradic
#161B90 #901658 #908B16 #16904E
square
#161B90 #901658 #908B16 #16904E
split-complementary
#161B90 #904E16 #589016
monochromatic
#060726 #0E115B #161B90 #1E25C5 #3F45E2

Accessibility & contrast

On white

13.18
#161B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B90
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B90#FFFFFF#000000##FFFFFF
##161B901.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #161b90;
/* rgb */ color: rgb(22, 27, 144);
/* oklch */ color: oklch(32.7% 0.183 268.9);
Tailwind
colors: {
  custom: {
    50: '#6e5ab2',
    500: '#161b90',
    950: '#000000',
  },
}
SCSS
$custom: #161b90;
$custom-light: #6e5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#161b90",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 237.541,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32741,
    "c": 0.18306,
    "h": 268.9
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#161B90
secondary
#C2BC40
accent
#E938F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #161B90

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

Preview Lab → · Contrast checker → · Palette generator →

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