#161C63#161C63

#161C63 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.123 H 271.6°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#161C63
RGBrgb(22, 28, 99)
HSLhsl(235, 64%, 24%)
HSVhsv(235, 78%, 39%)
CMYKcmyk(77.8%, 71.7%, 0%, 61.2%)
CIE-LABlab(14.96, 24.51, -42.54)
CIE-LCHlch(14.96, 49.09, 299.95°)
OKLaboklab(27.69% 0.0035 -0.123)
OKLCHoklch(27.69% 0.123 271.6)
XYZxyz(2.9975, 1.9016, 12.0110)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C63 #635D16
analogous
#164263 #161C63 #361663
triadic
#161C63 #63161C #1C6316
tetradic
#161C63 #631642 #635D16 #166336
square
#161C63 #631642 #635D16 #166336
split-complementary
#161C63 #633616 #426316
monochromatic
#060719 #0B0E31 #161C63 #212A95 #2C38C7

Accessibility & contrast

On white

15.21
#161C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#161C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C63
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C63#FFFFFF#000000##FFFFFF
##161C631.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161c63;
/* rgb */ color: rgb(22, 28, 99);
/* oklch */ color: oklch(27.7% 0.123 271.6);
Tailwind
colors: {
  custom: {
    50: '#615890',
    500: '#161c63',
    950: '#000000',
  },
}
SCSS
$custom: #161c63;
$custom-light: #615890;
$custom-dark: #000000;
JSON
{
  "hex": "#161c63",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 235.325,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27692,
    "c": 0.12306,
    "h": 271.6
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#161C63
secondary
#9A923B
accent
#DA41E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #161C63

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

Preview Lab → · Contrast checker → · Palette generator →

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