#161853#161853

#161853 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.2% C 0.105 H 274.5°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#161853
RGBrgb(22, 24, 83)
HSLhsl(238, 58%, 21%)
HSVhsv(238, 73%, 33%)
CMYKcmyk(73.5%, 71.1%, 0%, 67.5%)
CIE-LABlab(12.27, 21.01, -36.20)
CIE-LCHlch(12.27, 41.86, 300.13°)
OKLaboklab(25.24% 0.0082 -0.1045)
OKLCHoklch(25.24% 0.105 274.5)
XYZxyz(2.2183, 1.4482, 8.3446)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161853 #535116
analogous
#163653 #161853 #321653
triadic
#161853 #531618 #185316
tetradic
#161853 #531636 #535116 #165332
square
#161853 #531636 #535116 #165332
split-complementary
#161853 #533216 #365316
monochromatic
#060718 #090A23 #161853 #232683 #3034B4

Accessibility & contrast

On white

16.28
#161853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161853
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161853#FFFFFF#000000##FFFFFF
##1618531.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#001D52
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161853;
/* rgb */ color: rgb(22, 24, 83);
/* oklch */ color: oklch(25.2% 0.105 274.5);
Tailwind
colors: {
  custom: {
    50: '#5d5584',
    500: '#161853',
    950: '#000000',
  },
}
SCSS
$custom: #161853;
$custom-light: #5d5584;
$custom-dark: #000000;
JSON
{
  "hex": "#161853",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 238.033,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25236,
    "c": 0.10482,
    "h": 274.5
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#161853
secondary
#8A883A
accent
#DC46E1
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161853

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

Preview Lab → · Contrast checker → · Palette generator →

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