#16287E#16287E

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

Color values

HEX#16287E
RGBrgb(22, 40, 126)
HSLhsl(230, 70%, 29%)
HSVhsv(230, 83%, 49%)
CMYKcmyk(82.5%, 68.3%, 0%, 50.6%)
CIE-LABlab(20.80, 26.87, -50.41)
CIE-LCHlch(20.80, 57.13, 298.06°)
OKLaboklab(32.79% -0.0059 -0.146)
OKLCHoklch(32.79% 0.146 267.7)
XYZxyz(4.8543, 3.1940, 20.0953)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16287E #7E6C16
analogous
#165C7E #16287E #38167E
triadic
#16287E #7E1628 #287E16
tetradic
#16287E #7E165C #7E6C16 #167E38
square
#16287E #7E165C #7E6C16 #167E38
split-complementary
#16287E #7E3816 #5C7E16
monochromatic
#05081A #0D174A #16287E #1F39B2 #3350DB

Accessibility & contrast

On white

12.81
#16287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16287E
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16287E#FFFFFF#000000##FFFFFF
##16287E1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #16287e;
/* rgb */ color: rgb(22, 40, 126);
/* oklch */ color: oklch(32.8% 0.146 267.7);
Tailwind
colors: {
  custom: {
    50: '#6762a4',
    500: '#16287e',
    950: '#000000',
  },
}
SCSS
$custom: #16287e;
$custom-light: #6762a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16287e",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 229.615,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32787,
    "c": 0.14609,
    "h": 267.7
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#16287E
secondary
#B39E3D
accent
#CE3BED
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #16287E

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

Preview Lab → · Contrast checker → · Palette generator →

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