#16287C#16287C

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

Color values

HEX#16287C
RGBrgb(22, 40, 124)
HSLhsl(229, 70%, 29%)
HSVhsv(229, 82%, 49%)
CMYKcmyk(82.3%, 67.7%, 0%, 51.4%)
CIE-LABlab(20.61, 26.08, -49.47)
CIE-LCHlch(20.61, 55.92, 297.80°)
OKLaboklab(32.58% -0.0058 -0.1432)
OKLCHoklch(32.58% 0.143 267.7)
XYZxyz(4.7265, 3.1428, 19.4224)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16287C #7C6A16
analogous
#165B7C #16287C #37167C
triadic
#16287C #7C1628 #287C16
tetradic
#16287C #7C165B #7C6A16 #167C37
square
#16287C #7C165B #7C6A16 #167C37
split-complementary
#16287C #7C3716 #5B7C16
monochromatic
#05081A #0D1748 #16287C #1F39B0 #3250DB

Accessibility & contrast

On white

12.89
#16287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16287C
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16287C#FFFFFF#000000##FFFFFF
##16287C1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #16287c;
/* rgb */ color: rgb(22, 40, 124);
/* oklch */ color: oklch(32.6% 0.143 267.7);
Tailwind
colors: {
  custom: {
    50: '#6761a3',
    500: '#16287c',
    950: '#000000',
  },
}
SCSS
$custom: #16287c;
$custom-light: #6761a3;
$custom-dark: #000000;
JSON
{
  "hex": "#16287c",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 229.412,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32582,
    "c": 0.14333,
    "h": 267.7
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#16287C
secondary
#B19D3D
accent
#CD3BED
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #16287C

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

Preview Lab → · Contrast checker → · Palette generator →

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