#161252#161252

#161252 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.0% C 0.111 H 276.8°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#161252
RGBrgb(22, 18, 82)
HSLhsl(244, 64%, 20%)
HSVhsv(244, 78%, 32%)
CMYKcmyk(73.2%, 78%, 0%, 67.8%)
CIE-LABlab(10.65, 24.77, -38.19)
CIE-LCHlch(10.65, 45.52, 302.96°)
OKLaboklab(24.03% 0.0131 -0.1103)
OKLCHoklch(24.03% 0.111 276.8)
XYZxyz(2.0697, 1.2122, 8.1059)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161252 #4E5212
analogous
#122E52 #161252 #361252
triadic
#161252 #521612 #125216
tetradic
#161252 #52122E #4E5212 #125236
square
#161252 #52122E #4E5212 #125236
split-complementary
#161252 #523612 #2E5212
monochromatic
#070619 #090720 #161252 #231D84 #3128B6

Accessibility & contrast

On white

16.90
#161252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#161252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161252
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161252#FFFFFF#000000##FFFFFF
##1612521.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001A51
Tritanopia (blue-blind)
#002430
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #161252;
/* rgb */ color: rgb(22, 18, 82);
/* oklch */ color: oklch(24.0% 0.111 276.8);
Tailwind
colors: {
  custom: {
    50: '#5d5083',
    500: '#161252',
    950: '#000000',
  },
}
SCSS
$custom: #161252;
$custom-light: #5d5083;
$custom-dark: #000000;
JSON
{
  "hex": "#161252",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 243.75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24029,
    "c": 0.11109,
    "h": 276.8
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#161252
secondary
#858B35
accent
#E741DD
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #161252

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

Preview Lab → · Contrast checker → · Palette generator →

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