#161A74#161A74

#161A74 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.149 H 270.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#161A74
RGBrgb(22, 26, 116)
HSLhsl(237, 68%, 27%)
HSVhsv(237, 81%, 45%)
CMYKcmyk(81%, 77.6%, 0%, 54.5%)
CIE-LABlab(16.35, 32.28, -51.35)
CIE-LCHlch(16.35, 60.65, 302.15°)
OKLaboklab(29.25% 0.0021 -0.1487)
OKLCHoklch(29.25% 0.149 270.8)
XYZxyz(3.8516, 2.1699, 16.7354)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A74 #747016
analogous
#164974 #161A74 #411674
triadic
#161A74 #74161A #1A7416
tetradic
#161A74 #741649 #747016 #167441
square
#161A74 #741649 #747016 #167441
split-complementary
#161A74 #744116 #497416
monochromatic
#05061A #0C0E41 #161A74 #2026A7 #2D34D7

Accessibility & contrast

On white

14.64
#161A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#161A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A74
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A74#FFFFFF#000000##FFFFFF
##161A741.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161a74;
/* rgb */ color: rgb(22, 26, 116);
/* oklch */ color: oklch(29.3% 0.149 270.8);
Tailwind
colors: {
  custom: {
    50: '#66579d',
    500: '#161a74',
    950: '#000000',
  },
}
SCSS
$custom: #161a74;
$custom-light: #66579d;
$custom-dark: #000000;
JSON
{
  "hex": "#161a74",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 237.447,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29252,
    "c": 0.14871,
    "h": 270.8
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#161A74
secondary
#AAA53C
accent
#E43DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161A74

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

Preview Lab → · Contrast checker → · Palette generator →

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