#16185B#16185B

#16185B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.117 H 273.5°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#16185B
RGBrgb(22, 24, 91)
HSLhsl(238, 61%, 22%)
HSVhsv(238, 76%, 36%)
CMYKcmyk(75.8%, 73.6%, 0%, 64.3%)
CIE-LABlab(13.10, 24.15, -40.26)
CIE-LCHlch(13.10, 46.95, 300.96°)
OKLaboklab(26.09% 0.0072 -0.1164)
OKLCHoklch(26.09% 0.117 273.5)
XYZxyz(2.5452, 1.5789, 10.0661)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16185B #5B5916
analogous
#163B5B #16185B #37165B
triadic
#16185B #5B1618 #185B16
tetradic
#16185B #5B163B #5B5916 #165B37
square
#16185B #5B163B #5B5916 #165B37
split-complementary
#16185B #5B3716 #3B5B16
monochromatic
#060619 #0A0B2A #16185B #22258C #2E32BE

Accessibility & contrast

On white

15.96
#16185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#16185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16185B
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16185B#FFFFFF#000000##FFFFFF
##16185B1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #16185b;
/* rgb */ color: rgb(22, 24, 91);
/* oklch */ color: oklch(26.1% 0.117 273.5);
Tailwind
colors: {
  custom: {
    50: '#5f558a',
    500: '#16185b',
    950: '#000000',
  },
}
SCSS
$custom: #16185b;
$custom-light: #5f558a;
$custom-dark: #000000;
JSON
{
  "hex": "#16185b",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 238.261,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26089,
    "c": 0.11659,
    "h": 273.5
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#16185B
secondary
#92903B
accent
#E044E4
background
#F5F4F8
surface
#EAE8F0
border
#C6C4CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #16185B

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

Preview Lab → · Contrast checker → · Palette generator →

#16185B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva