#161255#161255

#161255 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.115 H 276.2°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#161255
RGBrgb(22, 18, 85)
HSLhsl(244, 65%, 20%)
HSVhsv(244, 79%, 33%)
CMYKcmyk(74.1%, 78.8%, 0%, 66.7%)
CIE-LABlab(10.98, 25.88, -39.68)
CIE-LCHlch(10.98, 47.38, 303.11°)
OKLaboklab(24.37% 0.0124 -0.1147)
OKLCHoklch(24.37% 0.115 276.2)
XYZxyz(2.1863, 1.2589, 8.7203)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161255 #515512
analogous
#122F55 #161255 #371255
triadic
#161255 #551612 #125516
tetradic
#161255 #55122F #515512 #125537
square
#161255 #55122F #515512 #125537
split-complementary
#161255 #553712 #2F5512
monochromatic
#070519 #090722 #161255 #231D88 #3027BA

Accessibility & contrast

On white

16.78
#161255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#161255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161255
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161255#FFFFFF#000000##FFFFFF
##1612551.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001A54
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #161255;
/* rgb */ color: rgb(22, 18, 85);
/* oklch */ color: oklch(24.4% 0.115 276.2);
Tailwind
colors: {
  custom: {
    50: '#5e5186',
    500: '#161255',
    950: '#000000',
  },
}
SCSS
$custom: #161255;
$custom-light: #5e5186;
$custom-dark: #000000;
JSON
{
  "hex": "#161255",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 243.582,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24372,
    "c": 0.11534,
    "h": 276.2
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#161255
secondary
#888E35
accent
#E840DE
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #161255

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

Preview Lab → · Contrast checker → · Palette generator →

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