#161767#161767

#161767 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.135 H 272.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#161767
RGBrgb(22, 23, 103)
HSLhsl(239, 65%, 25%)
HSVhsv(239, 79%, 40%)
CMYKcmyk(78.6%, 77.7%, 0%, 59.6%)
CIE-LABlab(14.19, 29.37, -46.45)
CIE-LCHlch(14.19, 54.96, 302.30°)
OKLaboklab(27.27% 0.0059 -0.1344)
OKLCHoklch(27.27% 0.135 272.5)
XYZxyz(3.0846, 1.7623, 13.0069)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161767 #676616
analogous
#164067 #161767 #3E1667
triadic
#161767 #671617 #176716
tetradic
#161767 #671640 #676616 #16673E
square
#161767 #671640 #676616 #16673E
split-complementary
#161767 #673E16 #406716
monochromatic
#050619 #0B0C35 #161767 #212299 #2C2ECC

Accessibility & contrast

On white

15.53
#161767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161767
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161767#FFFFFF#000000##FFFFFF
##1617671.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161767;
/* rgb */ color: rgb(22, 23, 103);
/* oklch */ color: oklch(27.3% 0.135 272.5);
Tailwind
colors: {
  custom: {
    50: '#635593',
    500: '#161767',
    950: '#000000',
  },
}
SCSS
$custom: #161767;
$custom-light: #635593;
$custom-dark: #000000;
JSON
{
  "hex": "#161767",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 239.259,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27266,
    "c": 0.13456,
    "h": 272.5
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#161767
secondary
#9E9C3B
accent
#E640E8
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161767

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

Preview Lab → · Contrast checker → · Palette generator →

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