#16287F#16287F

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

Color values

HEX#16287F
RGBrgb(22, 40, 127)
HSLhsl(230, 70%, 29%)
HSVhsv(230, 83%, 50%)
CMYKcmyk(82.7%, 68.5%, 0%, 50.2%)
CIE-LABlab(20.90, 27.26, -50.88)
CIE-LCHlch(20.90, 57.73, 298.18°)
OKLaboklab(32.89% -0.006 -0.1473)
OKLCHoklch(32.89% 0.147 267.7)
XYZxyz(4.9191, 3.2199, 20.4368)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16287F #7F6D16
analogous
#165D7F #16287F #39167F
triadic
#16287F #7F1628 #287F16
tetradic
#16287F #7F165D #7F6D16 #167F39
square
#16287F #7F165D #7F6D16 #167F39
split-complementary
#16287F #7F3916 #5D7F16
monochromatic
#05081A #0D184B #16287F #1F38B3 #3450DC

Accessibility & contrast

On white

12.77
#16287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#16287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16287F
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16287F#FFFFFF#000000##FFFFFF
##16287F1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #16287f;
/* rgb */ color: rgb(22, 40, 127);
/* oklch */ color: oklch(32.9% 0.147 267.7);
Tailwind
colors: {
  custom: {
    50: '#6862a5',
    500: '#16287f',
    950: '#000000',
  },
}
SCSS
$custom: #16287f;
$custom-light: #6862a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16287f",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 229.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3289,
    "c": 0.14746,
    "h": 267.7
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#16287F
secondary
#B49F3D
accent
#CF3BED
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #16287F

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

Preview Lab → · Contrast checker → · Palette generator →

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