#16185F#16185F

#16185F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.5% C 0.122 H 273.1°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#16185F
RGBrgb(22, 24, 95)
HSLhsl(238, 62%, 23%)
HSVhsv(238, 77%, 37%)
CMYKcmyk(76.8%, 74.7%, 0%, 62.7%)
CIE-LABlab(13.53, 25.70, -42.23)
CIE-LCHlch(13.53, 49.43, 301.32°)
OKLaboklab(26.53% 0.0066 -0.1221)
OKLCHoklch(26.53% 0.122 273.1)
XYZxyz(2.7224, 1.6498, 10.9992)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16185F #5F5D16
analogous
#163C5F #16185F #38165F
triadic
#16185F #5F1618 #185F16
tetradic
#16185F #5F163C #5F5D16 #165F38
square
#16185F #5F163C #5F5D16 #165F38
split-complementary
#16185F #5F3816 #3C5F16
monochromatic
#060619 #0A0B2D #16185F #222591 #2D31C2

Accessibility & contrast

On white

15.79
#16185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#16185F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16185F
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16185F#FFFFFF#000000##FFFFFF
##16185F1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #16185f;
/* rgb */ color: rgb(22, 24, 95);
/* oklch */ color: oklch(26.5% 0.122 273.1);
Tailwind
colors: {
  custom: {
    50: '#60558d',
    500: '#16185f',
    950: '#000000',
  },
}
SCSS
$custom: #16185f;
$custom-light: #60558d;
$custom-dark: #000000;
JSON
{
  "hex": "#16185f",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 238.356,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26528,
    "c": 0.12231,
    "h": 273.1
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#16185F
secondary
#96933B
accent
#E142E5
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #16185F

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

Preview Lab → · Contrast checker → · Palette generator →

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