#161A71#161A71

#161A71 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.145 H 271.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#161A71
RGBrgb(22, 26, 113)
HSLhsl(237, 67%, 26%)
HSVhsv(237, 81%, 44%)
CMYKcmyk(80.5%, 77%, 0%, 55.7%)
CIE-LABlab(16.01, 31.18, -49.98)
CIE-LCHlch(16.01, 58.91, 301.96°)
OKLaboklab(28.9% 0.0026 -0.1447)
OKLCHoklch(28.9% 0.145 271)
XYZxyz(3.6799, 2.1012, 15.8312)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A71 #716D16
analogous
#164871 #161A71 #401671
triadic
#161A71 #71161A #1A7116
tetradic
#161A71 #711648 #716D16 #167140
square
#161A71 #711648 #716D16 #167140
split-complementary
#161A71 #714016 #487116
monochromatic
#05061A #0C0E3E #161A71 #2026A4 #2C33D6

Accessibility & contrast

On white

14.78
#161A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A71
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A71#FFFFFF#000000##FFFFFF
##161A711.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161a71;
/* rgb */ color: rgb(22, 26, 113);
/* oklch */ color: oklch(28.9% 0.145 271.0);
Tailwind
colors: {
  custom: {
    50: '#65579b',
    500: '#161a71',
    950: '#000000',
  },
}
SCSS
$custom: #161a71;
$custom-light: #65579b;
$custom-dark: #000000;
JSON
{
  "hex": "#161a71",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 237.363,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28904,
    "c": 0.14473,
    "h": 271
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#161A71
secondary
#A7A23C
accent
#E33EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161A71

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

Preview Lab → · Contrast checker → · Palette generator →

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