#16287D#16287D

#16287D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.145 H 267.7°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#16287D
RGBrgb(22, 40, 125)
HSLhsl(230, 70%, 29%)
HSVhsv(230, 82%, 49%)
CMYKcmyk(82.4%, 68%, 0%, 51%)
CIE-LABlab(20.71, 26.47, -49.94)
CIE-LCHlch(20.71, 56.52, 297.93°)
OKLaboklab(32.68% -0.0058 -0.1446)
OKLCHoklch(32.68% 0.145 267.7)
XYZxyz(4.7901, 3.1683, 19.7571)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16287D #7D6B16
analogous
#165C7D #16287D #38167D
triadic
#16287D #7D1628 #287D16
tetradic
#16287D #7D165C #7D6B16 #167D38
square
#16287D #7D165C #7D6B16 #167D38
split-complementary
#16287D #7D3816 #5C7D16
monochromatic
#05081A #0D1749 #16287D #1F39B1 #3250DB

Accessibility & contrast

On white

12.85
#16287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#16287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16287D
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16287D#FFFFFF#000000##FFFFFF
##16287D1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #16287d;
/* rgb */ color: rgb(22, 40, 125);
/* oklch */ color: oklch(32.7% 0.145 267.7);
Tailwind
colors: {
  custom: {
    50: '#6761a4',
    500: '#16287d',
    950: '#000000',
  },
}
SCSS
$custom: #16287d;
$custom-light: #6761a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16287d",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 229.515,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32685,
    "c": 0.14471,
    "h": 267.7
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#16287D
secondary
#B29D3D
accent
#CE3BED
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #16287D

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

Preview Lab → · Contrast checker → · Palette generator →

#16287D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva