#161A5E#161A5E

#161A5E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.118 H 272.6°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#161A5E
RGBrgb(22, 26, 94)
HSLhsl(237, 62%, 23%)
HSVhsv(237, 77%, 37%)
CMYKcmyk(76.6%, 72.3%, 0%, 63.1%)
CIE-LABlab(13.93, 23.94, -40.91)
CIE-LCHlch(13.93, 47.40, 300.34°)
OKLaboklab(26.78% 0.0054 -0.1183)
OKLCHoklch(26.78% 0.118 272.6)
XYZxyz(2.7200, 1.7172, 10.7756)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A5E #5E5A16
analogous
#163E5E #161A5E #36165E
triadic
#161A5E #5E161A #1A5E16
tetradic
#161A5E #5E163E #5E5A16 #165E36
square
#161A5E #5E163E #5E5A16 #165E36
split-complementary
#161A5E #5E3616 #3E5E16
monochromatic
#060719 #0A0C2C #161A5E #222890 #2D35C1

Accessibility & contrast

On white

15.63
#161A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#161A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A5E
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A5E#FFFFFF#000000##FFFFFF
##161A5E1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161a5e;
/* rgb */ color: rgb(22, 26, 94);
/* oklch */ color: oklch(26.8% 0.118 272.6);
Tailwind
colors: {
  custom: {
    50: '#60568c',
    500: '#161a5e',
    950: '#000000',
  },
}
SCSS
$custom: #161a5e;
$custom-light: #60568c;
$custom-dark: #000000;
JSON
{
  "hex": "#161a5e",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 236.667,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26782,
    "c": 0.11839,
    "h": 272.6
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#161A5E
secondary
#95903B
accent
#DC43E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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