#161867#161867

#161867 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.133 H 272.3°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#161867
RGBrgb(22, 24, 103)
HSLhsl(239, 65%, 25%)
HSVhsv(239, 79%, 40%)
CMYKcmyk(78.6%, 76.7%, 0%, 59.6%)
CIE-LABlab(14.42, 28.73, -46.07)
CIE-LCHlch(14.42, 54.30, 301.95°)
OKLaboklab(27.43% 0.0053 -0.1333)
OKLCHoklch(27.43% 0.133 272.3)
XYZxyz(3.1049, 1.8028, 13.0137)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161867 #676516
analogous
#164067 #161867 #3D1667
triadic
#161867 #671618 #186716
tetradic
#161867 #671640 #676516 #16673D
square
#161867 #671640 #676516 #16673D
split-complementary
#161867 #673D16 #406716
monochromatic
#050619 #0B0C35 #161867 #212499 #2C2FCC

Accessibility & contrast

On white

15.43
#161867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#161867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161867
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161867#FFFFFF#000000##FFFFFF
##1618671.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161867;
/* rgb */ color: rgb(22, 24, 103);
/* oklch */ color: oklch(27.4% 0.133 272.3);
Tailwind
colors: {
  custom: {
    50: '#625593',
    500: '#161867',
    950: '#000000',
  },
}
SCSS
$custom: #161867;
$custom-light: #625593;
$custom-dark: #000000;
JSON
{
  "hex": "#161867",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 238.519,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27429,
    "c": 0.13345,
    "h": 272.3
  },
  "luminance": 0.01803
}

Semantic roles & 50–950 ramp

primary
#161867
secondary
#9E9B3B
accent
#E440E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161867

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

Preview Lab → · Contrast checker → · Palette generator →

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