#16185E#16185E

#16185E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.121 H 273.2°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#16185E
RGBrgb(22, 24, 94)
HSLhsl(238, 62%, 23%)
HSVhsv(238, 77%, 37%)
CMYKcmyk(76.6%, 74.5%, 0%, 63.1%)
CIE-LABlab(13.42, 25.31, -41.74)
CIE-LCHlch(13.42, 48.82, 301.23°)
OKLaboklab(26.42% 0.0068 -0.1207)
OKLCHoklch(26.42% 0.121 273.2)
XYZxyz(2.6772, 1.6317, 10.7614)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16185E #5E5C16
analogous
#163C5E #16185E #38165E
triadic
#16185E #5E1618 #185E16
tetradic
#16185E #5E163C #5E5C16 #165E38
square
#16185E #5E163C #5E5C16 #165E38
split-complementary
#16185E #5E3816 #3C5E16
monochromatic
#060619 #0A0B2C #16185E #222590 #2D31C1

Accessibility & contrast

On white

15.83
#16185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16185E
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16185E#FFFFFF#000000##FFFFFF
##16185E1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #16185e;
/* rgb */ color: rgb(22, 24, 94);
/* oklch */ color: oklch(26.4% 0.121 273.2);
Tailwind
colors: {
  custom: {
    50: '#60558c',
    500: '#16185e',
    950: '#000000',
  },
}
SCSS
$custom: #16185e;
$custom-light: #60558c;
$custom-dark: #000000;
JSON
{
  "hex": "#16185e",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 238.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26417,
    "c": 0.12089,
    "h": 273.2
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#16185E
secondary
#95933B
accent
#E143E5
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #16185E

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

Preview Lab → · Contrast checker → · Palette generator →

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