#161362#161362

#161362 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.132 H 273.9°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#161362
RGBrgb(22, 19, 98)
HSLhsl(242, 68%, 23%)
HSVhsv(242, 81%, 38%)
CMYKcmyk(77.6%, 80.6%, 0%, 61.6%)
CIE-LABlab(12.72, 30.03, -45.56)
CIE-LCHlch(12.72, 54.57, 303.38°)
OKLaboklab(26.05% 0.009 -0.1318)
OKLCHoklch(26.05% 0.132 273.9)
XYZxyz(2.7676, 1.5179, 11.7000)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161362 #5F6213
analogous
#133862 #161362 #3D1362
triadic
#161362 #621613 #136216
tetradic
#161362 #621338 #5F6213 #13623D
square
#161362 #621338 #5F6213 #13623D
split-complementary
#161362 #623D13 #386213
monochromatic
#06051A #0A092F #161362 #221D95 #2D27C9

Accessibility & contrast

On white

16.11
#161362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161362
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161362#FFFFFF#000000##FFFFFF
##1613621.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002564
Deuteranopia (green-blind)
#001D61
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161362;
/* rgb */ color: rgb(22, 19, 98);
/* oklch */ color: oklch(26.1% 0.132 273.9);
Tailwind
colors: {
  custom: {
    50: '#625290',
    500: '#161362',
    950: '#000000',
  },
}
SCSS
$custom: #161362;
$custom-light: #625290;
$custom-dark: #000000;
JSON
{
  "hex": "#161362",
  "rgb": {
    "r": 22,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 242.278,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26053,
    "c": 0.13211,
    "h": 273.9
  },
  "luminance": 0.01518
}

Semantic roles & 50–950 ramp

primary
#161362
secondary
#969A37
accent
#EA3DE4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #161362

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

Preview Lab → · Contrast checker → · Palette generator →

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