#161852#161852

#161852 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.103 H 274.6°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#161852
RGBrgb(22, 24, 82)
HSLhsl(238, 58%, 20%)
HSVhsv(238, 73%, 32%)
CMYKcmyk(73.2%, 70.7%, 0%, 67.8%)
CIE-LABlab(12.17, 20.62, -35.69)
CIE-LCHlch(12.17, 41.22, 300.02°)
OKLaboklab(25.13% 0.0083 -0.103)
OKLCHoklch(25.13% 0.103 274.6)
XYZxyz(2.1800, 1.4328, 8.1427)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161852 #525016
analogous
#163652 #161852 #321652
triadic
#161852 #521618 #185216
tetradic
#161852 #521636 #525016 #165232
square
#161852 #521636 #525016 #165232
split-complementary
#161852 #523216 #365216
monochromatic
#060718 #090A22 #161852 #232682 #3034B3

Accessibility & contrast

On white

16.32
#161852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161852
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161852#FFFFFF#000000##FFFFFF
##1618521.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#002732
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161852;
/* rgb */ color: rgb(22, 24, 82);
/* oklch */ color: oklch(25.1% 0.103 274.6);
Tailwind
colors: {
  custom: {
    50: '#5d5583',
    500: '#161852',
    950: '#000000',
  },
}
SCSS
$custom: #161852;
$custom-light: #5d5583;
$custom-dark: #000000;
JSON
{
  "hex": "#161852",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 238,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25132,
    "c": 0.10331,
    "h": 274.6
  },
  "luminance": 0.01433
}

Semantic roles & 50–950 ramp

primary
#161852
secondary
#89873A
accent
#DC47E1
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161852

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

Preview Lab → · Contrast checker → · Palette generator →

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