#161B74#161B74

#161B74 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.148 H 270.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#161B74
RGBrgb(22, 27, 116)
HSLhsl(237, 68%, 27%)
HSVhsv(237, 81%, 45%)
CMYKcmyk(81%, 76.7%, 0%, 54.5%)
CIE-LABlab(16.58, 31.65, -50.98)
CIE-LCHlch(16.58, 60.01, 301.84°)
OKLaboklab(29.41% 0.0017 -0.1476)
OKLCHoklch(29.41% 0.148 270.6)
XYZxyz(3.8741, 2.2150, 16.7430)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B74 #746F16
analogous
#164A74 #161B74 #401674
triadic
#161B74 #74161B #1B7416
tetradic
#161B74 #74164A #746F16 #167440
square
#161B74 #74164A #746F16 #167440
split-complementary
#161B74 #744016 #4A7416
monochromatic
#05061A #0C0F41 #161B74 #2027A7 #2D36D7

Accessibility & contrast

On white

14.55
#161B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#161B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B74
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B74#FFFFFF#000000##FFFFFF
##161B741.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161b74;
/* rgb */ color: rgb(22, 27, 116);
/* oklch */ color: oklch(29.4% 0.148 270.6);
Tailwind
colors: {
  custom: {
    50: '#66589d',
    500: '#161b74',
    950: '#000000',
  },
}
SCSS
$custom: #161b74;
$custom-light: #66589d;
$custom-dark: #000000;
JSON
{
  "hex": "#161b74",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 236.809,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29411,
    "c": 0.14764,
    "h": 270.6
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#161B74
secondary
#AAA43C
accent
#E23DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161B74

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

Preview Lab → · Contrast checker → · Palette generator →

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