#161E60#161E60

#161E60 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.8% C 0.116 H 271.1°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#161E60
RGBrgb(22, 30, 96)
HSLhsl(234, 63%, 23%)
HSVhsv(234, 77%, 38%)
CMYKcmyk(77.1%, 68.7%, 0%, 62.4%)
CIE-LABlab(15.19, 21.91, -40.18)
CIE-LCHlch(15.19, 45.77, 298.61°)
OKLaboklab(27.76% 0.0023 -0.1161)
OKLCHoklch(27.76% 0.116 271.1)
XYZxyz(2.9058, 1.9434, 11.2860)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E60 #605816
analogous
#164360 #161E60 #331660
triadic
#161E60 #60161E #1E6016
tetradic
#161E60 #601643 #605816 #166033
square
#161E60 #601643 #605816 #166033
split-complementary
#161E60 #603316 #436016
monochromatic
#060819 #0B0E2E #161E60 #212E92 #2D3DC4

Accessibility & contrast

On white

15.12
#161E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#161E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E60
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E60#FFFFFF#000000##FFFFFF
##161E601.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161e60;
/* rgb */ color: rgb(22, 30, 96);
/* oklch */ color: oklch(27.8% 0.116 271.1);
Tailwind
colors: {
  custom: {
    50: '#60598e',
    500: '#161e60',
    950: '#000000',
  },
}
SCSS
$custom: #161e60;
$custom-light: #60598e;
$custom-dark: #000000;
JSON
{
  "hex": "#161e60",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 233.514,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27763,
    "c": 0.11612,
    "h": 271.1
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#161E60
secondary
#978D3B
accent
#D442E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161E60

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

Preview Lab → · Contrast checker → · Palette generator →

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