#161C65#161C65

#161C65 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.126 H 271.5°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#161C65
RGBrgb(22, 28, 101)
HSLhsl(235, 64%, 24%)
HSVhsv(235, 78%, 40%)
CMYKcmyk(78.2%, 72.3%, 0%, 60.4%)
CIE-LABlab(15.17, 25.30, -43.51)
CIE-LCHlch(15.17, 50.33, 300.17°)
OKLaboklab(27.91% 0.0032 -0.1259)
OKLCHoklch(27.91% 0.126 271.5)
XYZxyz(3.0943, 1.9403, 12.5208)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C65 #655F16
analogous
#164465 #161C65 #381665
triadic
#161C65 #65161C #1C6516
tetradic
#161C65 #651644 #655F16 #166538
square
#161C65 #651644 #655F16 #166538
split-complementary
#161C65 #653816 #446516
monochromatic
#050719 #0B0E33 #161C65 #212A97 #2C38CA

Accessibility & contrast

On white

15.13
#161C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C65
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C65#FFFFFF#000000##FFFFFF
##161C651.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161c65;
/* rgb */ color: rgb(22, 28, 101);
/* oklch */ color: oklch(27.9% 0.126 271.5);
Tailwind
colors: {
  custom: {
    50: '#615892',
    500: '#161c65',
    950: '#000000',
  },
}
SCSS
$custom: #161c65;
$custom-light: #615892;
$custom-dark: #000000;
JSON
{
  "hex": "#161c65",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 235.443,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27907,
    "c": 0.12591,
    "h": 271.5
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#161C65
secondary
#9C943B
accent
#DB41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161C65

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

Preview Lab → · Contrast checker → · Palette generator →

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