#16287B#16287B

#16287B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.142 H 267.7°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#16287B
RGBrgb(22, 40, 123)
HSLhsl(229, 70%, 28%)
HSVhsv(229, 82%, 48%)
CMYKcmyk(82.1%, 67.5%, 0%, 51.8%)
CIE-LABlab(20.51, 25.68, -48.99)
CIE-LCHlch(20.51, 55.32, 297.66°)
OKLaboklab(32.48% -0.0057 -0.1418)
OKLCHoklch(32.48% 0.142 267.7)
XYZxyz(4.6636, 3.1177, 19.0910)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16287B #7B6916
analogous
#165A7B #16287B #36167B
triadic
#16287B #7B1628 #287B16
tetradic
#16287B #7B165A #7B6916 #167B36
square
#16287B #7B165A #7B6916 #167B36
split-complementary
#16287B #7B3616 #5A7B16
monochromatic
#05081A #0D1747 #16287B #1F39AF #314FDA

Accessibility & contrast

On white

12.93
#16287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#16287B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16287B
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16287B#FFFFFF#000000##FFFFFF
##16287B1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #16287b;
/* rgb */ color: rgb(22, 40, 123);
/* oklch */ color: oklch(32.5% 0.142 267.7);
Tailwind
colors: {
  custom: {
    50: '#6661a2',
    500: '#16287b',
    950: '#000000',
  },
}
SCSS
$custom: #16287b;
$custom-light: #6661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16287b",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 229.307,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3248,
    "c": 0.14194,
    "h": 267.7
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#16287B
secondary
#B09C3D
accent
#CD3BEC
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #16287B

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

Preview Lab → · Contrast checker → · Palette generator →

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