#161A5F#161A5F

#161A5F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.9% C 0.120 H 272.5°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#161A5F
RGBrgb(22, 26, 95)
HSLhsl(237, 62%, 23%)
HSVhsv(237, 77%, 37%)
CMYKcmyk(76.8%, 72.6%, 0%, 62.7%)
CIE-LABlab(14.03, 24.33, -41.41)
CIE-LCHlch(14.03, 48.03, 300.44°)
OKLaboklab(26.89% 0.0053 -0.1197)
OKLCHoklch(26.89% 0.12 272.5)
XYZxyz(2.7651, 1.7353, 11.0135)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A5F #5F5B16
analogous
#163E5F #161A5F #36165F
triadic
#161A5F #5F161A #1A5F16
tetradic
#161A5F #5F163E #5F5B16 #165F36
square
#161A5F #5F163E #5F5B16 #165F36
split-complementary
#161A5F #5F3616 #3E5F16
monochromatic
#060719 #0A0C2D #161A5F #222891 #2D35C2

Accessibility & contrast

On white

15.59
#161A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A5F
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A5F#FFFFFF#000000##FFFFFF
##161A5F1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00205E
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161a5f;
/* rgb */ color: rgb(22, 26, 95);
/* oklch */ color: oklch(26.9% 0.120 272.5);
Tailwind
colors: {
  custom: {
    50: '#60568d',
    500: '#161a5f',
    950: '#000000',
  },
}
SCSS
$custom: #161a5f;
$custom-light: #60568d;
$custom-dark: #000000;
JSON
{
  "hex": "#161a5f",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 236.712,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2689,
    "c": 0.11984,
    "h": 272.5
  },
  "luminance": 0.01736
}

Semantic roles & 50–950 ramp

primary
#161A5F
secondary
#96913B
accent
#DD42E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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