#161E61#161E61

#161E61 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.118 H 271.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#161E61
RGBrgb(22, 30, 97)
HSLhsl(234, 63%, 23%)
HSVhsv(234, 77%, 38%)
CMYKcmyk(77.3%, 69.1%, 0%, 62%)
CIE-LABlab(15.29, 22.32, -40.68)
CIE-LCHlch(15.29, 46.40, 298.75°)
OKLaboklab(27.87% 0.0022 -0.1176)
OKLCHoklch(27.87% 0.118 271.1)
XYZxyz(2.9521, 1.9619, 11.5300)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E61 #615916
analogous
#164361 #161E61 #331661
triadic
#161E61 #61161E #1E6116
tetradic
#161E61 #611643 #615916 #166133
square
#161E61 #611643 #615916 #166133
split-complementary
#161E61 #613316 #436116
monochromatic
#060819 #0B0F2F #161E61 #212D93 #2D3DC5

Accessibility & contrast

On white

15.08
#161E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161E61
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E61#FFFFFF#000000##FFFFFF
##161E611.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002360
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161e61;
/* rgb */ color: rgb(22, 30, 97);
/* oklch */ color: oklch(27.9% 0.118 271.1);
Tailwind
colors: {
  custom: {
    50: '#60598f',
    500: '#161e61',
    950: '#000000',
  },
}
SCSS
$custom: #161e61;
$custom-light: #60598f;
$custom-dark: #000000;
JSON
{
  "hex": "#161e61",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 97
  },
  "hsl": {
    "h": 233.6,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27866,
    "c": 0.11759,
    "h": 271.1
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#161E61
secondary
#988E3B
accent
#D542E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161E61

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

Preview Lab → · Contrast checker → · Palette generator →

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