#161858#161858

#161858 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.8% C 0.112 H 273.9°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#161858
RGBrgb(22, 24, 88)
HSLhsl(238, 60%, 22%)
HSVhsv(238, 75%, 35%)
CMYKcmyk(75%, 72.7%, 0%, 65.5%)
CIE-LABlab(12.79, 22.98, -38.76)
CIE-LCHlch(12.79, 45.06, 300.67°)
OKLaboklab(25.77% 0.0076 -0.112)
OKLCHoklch(25.77% 0.112 273.9)
XYZxyz(2.4184, 1.5282, 9.3981)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161858 #585616
analogous
#163958 #161858 #351658
triadic
#161858 #581618 #185816
tetradic
#161858 #581639 #585616 #165835
square
#161858 #581639 #585616 #165835
split-complementary
#161858 #583516 #395816
monochromatic
#060718 #0A0B27 #161858 #222589 #2E33BA

Accessibility & contrast

On white

16.08
#161858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161858
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161858#FFFFFF#000000##FFFFFF
##1618581.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161858;
/* rgb */ color: rgb(22, 24, 88);
/* oklch */ color: oklch(25.8% 0.112 273.9);
Tailwind
colors: {
  custom: {
    50: '#5e5588',
    500: '#161858',
    950: '#000000',
  },
}
SCSS
$custom: #161858;
$custom-light: #5e5588;
$custom-dark: #000000;
JSON
{
  "hex": "#161858",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 238.182,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25765,
    "c": 0.11223,
    "h": 273.9
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#161858
secondary
#8F8D3B
accent
#DE45E3
background
#F5F4F8
surface
#EAE8F0
border
#C6C4CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #161858

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

Preview Lab → · Contrast checker → · Palette generator →

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