#161862#161862

#161862 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.127 H 272.8°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#161862
RGBrgb(22, 24, 98)
HSLhsl(238, 63%, 24%)
HSVhsv(238, 78%, 38%)
CMYKcmyk(77.6%, 75.5%, 0%, 61.6%)
CIE-LABlab(13.86, 26.84, -43.69)
CIE-LCHlch(13.86, 51.28, 301.57°)
OKLaboklab(26.86% 0.0062 -0.1264)
OKLCHoklch(26.86% 0.127 272.8)
XYZxyz(2.8614, 1.7054, 11.7313)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161862 #626016
analogous
#163E62 #161862 #3A1662
triadic
#161862 #621618 #186216
tetradic
#161862 #62163E #626016 #16623A
square
#161862 #62163E #626016 #16623A
split-complementary
#161862 #623A16 #3E6216
monochromatic
#060619 #0B0C30 #161862 #212494 #2C30C6

Accessibility & contrast

On white

15.66
#161862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161862
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161862#FFFFFF#000000##FFFFFF
##1618621.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002764
Deuteranopia (green-blind)
#002061
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161862;
/* rgb */ color: rgb(22, 24, 98);
/* oklch */ color: oklch(26.9% 0.127 272.8);
Tailwind
colors: {
  custom: {
    50: '#615590',
    500: '#161862',
    950: '#000000',
  },
}
SCSS
$custom: #161862;
$custom-light: #615590;
$custom-dark: #000000;
JSON
{
  "hex": "#161862",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 238.421,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26863,
    "c": 0.12653,
    "h": 272.8
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#161862
secondary
#99963B
accent
#E241E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #161862

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

Preview Lab → · Contrast checker → · Palette generator →

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