#161257#161257

#161257 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.6% C 0.118 H 275.8°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#161257
RGBrgb(22, 18, 87)
HSLhsl(243, 66%, 21%)
HSVhsv(243, 79%, 34%)
CMYKcmyk(74.7%, 79.3%, 0%, 65.9%)
CIE-LABlab(11.21, 26.63, -40.67)
CIE-LCHlch(11.21, 48.61, 303.21°)
OKLaboklab(24.6% 0.012 -0.1175)
OKLCHoklch(24.6% 0.118 275.8)
XYZxyz(2.2669, 1.2911, 9.1447)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161257 #535712
analogous
#123057 #161257 #381257
triadic
#161257 #571612 #125716
tetradic
#161257 #571230 #535712 #125738
square
#161257 #571230 #535712 #125738
split-complementary
#161257 #573812 #305712
monochromatic
#060519 #090824 #161257 #231C8A #3027BC

Accessibility & contrast

On white

16.69
#161257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161257
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161257#FFFFFF#000000##FFFFFF
##1612571.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001B56
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161257;
/* rgb */ color: rgb(22, 18, 87);
/* oklch */ color: oklch(24.6% 0.118 275.8);
Tailwind
colors: {
  custom: {
    50: '#5f5187',
    500: '#161257',
    950: '#000000',
  },
}
SCSS
$custom: #161257;
$custom-light: #5f5187;
$custom-dark: #000000;
JSON
{
  "hex": "#161257",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 243.478,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24603,
    "c": 0.11815,
    "h": 275.8
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161257

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

Preview Lab → · Contrast checker → · Palette generator →

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