#161258#161258

#161258 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.7% C 0.120 H 275.7°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#161258
RGBrgb(22, 18, 88)
HSLhsl(243, 66%, 21%)
HSVhsv(243, 80%, 35%)
CMYKcmyk(75%, 79.5%, 0%, 65.5%)
CIE-LABlab(11.33, 27.00, -41.15)
CIE-LCHlch(11.33, 49.22, 303.26°)
OKLaboklab(24.72% 0.0118 -0.119)
OKLCHoklch(24.72% 0.12 275.7)
XYZxyz(2.3081, 1.3076, 9.3614)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161258 #545812
analogous
#123158 #161258 #391258
triadic
#161258 #581612 #125816
tetradic
#161258 #581231 #545812 #125839
square
#161258 #581231 #545812 #125839
split-complementary
#161258 #583912 #315812
monochromatic
#060519 #090825 #161258 #231C8B #2F27BE

Accessibility & contrast

On white

16.65
#161258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#161258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161258
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161258#FFFFFF#000000##FFFFFF
##1612581.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001B57
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161258;
/* rgb */ color: rgb(22, 18, 88);
/* oklch */ color: oklch(24.7% 0.120 275.7);
Tailwind
colors: {
  custom: {
    50: '#5f5188',
    500: '#161258',
    950: '#000000',
  },
}
SCSS
$custom: #161258;
$custom-light: #5f5188;
$custom-dark: #000000;
JSON
{
  "hex": "#161258",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 243.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24719,
    "c": 0.11954,
    "h": 275.7
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#161258
secondary
#8B9135
accent
#E93FDF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #161258

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

Preview Lab → · Contrast checker → · Palette generator →

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