#161765#161765

#161765 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.132 H 272.7°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#161765
RGBrgb(22, 23, 101)
HSLhsl(239, 64%, 24%)
HSVhsv(239, 78%, 40%)
CMYKcmyk(78.2%, 77.2%, 0%, 60.4%)
CIE-LABlab(13.96, 28.63, -45.51)
CIE-LCHlch(13.96, 53.77, 302.17°)
OKLaboklab(27.03% 0.0062 -0.1317)
OKLCHoklch(27.03% 0.132 272.7)
XYZxyz(2.9854, 1.7226, 12.4846)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161765 #656416
analogous
#163F65 #161765 #3D1665
triadic
#161765 #651617 #176516
tetradic
#161765 #65163F #656416 #16653D
square
#161765 #65163F #656416 #16653D
split-complementary
#161765 #653D16 #3F6516
monochromatic
#050619 #0B0C33 #161765 #212297 #2C2ECA

Accessibility & contrast

On white

15.62
#161765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#161765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161765
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161765#FFFFFF#000000##FFFFFF
##1617651.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161765;
/* rgb */ color: rgb(22, 23, 101);
/* oklch */ color: oklch(27.0% 0.132 272.7);
Tailwind
colors: {
  custom: {
    50: '#625592',
    500: '#161765',
    950: '#000000',
  },
}
SCSS
$custom: #161765;
$custom-light: #625592;
$custom-dark: #000000;
JSON
{
  "hex": "#161765",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 239.241,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27035,
    "c": 0.13184,
    "h": 272.7
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#161765
secondary
#9C9A3B
accent
#E541E7
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161765

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

Preview Lab → · Contrast checker → · Palette generator →

#161765 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva