#16277F#16277F

#16277F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.149 H 267.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#16277F
RGBrgb(22, 39, 127)
HSLhsl(230, 70%, 29%)
HSVhsv(230, 83%, 50%)
CMYKcmyk(82.7%, 69.3%, 0%, 50.2%)
CIE-LABlab(20.65, 27.95, -51.30)
CIE-LCHlch(20.65, 58.42, 298.58°)
OKLaboklab(32.7% -0.0054 -0.1486)
OKLCHoklch(32.7% 0.149 267.9)
XYZxyz(4.8858, 3.1533, 20.4257)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16277F #7F6E16
analogous
#165C7F #16277F #3A167F
triadic
#16277F #7F1627 #277F16
tetradic
#16277F #7F165C #7F6E16 #167F3A
square
#16277F #7F165C #7F6E16 #167F3A
split-complementary
#16277F #7F3A16 #5C7F16
monochromatic
#05081A #0D174B #16277F #1F37B3 #344FDC

Accessibility & contrast

On white

12.88
#16277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#16277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16277F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16277F#FFFFFF#000000##FFFFFF
##16277F1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16277f;
/* rgb */ color: rgb(22, 39, 127);
/* oklch */ color: oklch(32.7% 0.149 267.9);
Tailwind
colors: {
  custom: {
    50: '#6861a5',
    500: '#16277f',
    950: '#000000',
  },
}
SCSS
$custom: #16277f;
$custom-light: #6861a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16277f",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 230.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32703,
    "c": 0.14868,
    "h": 267.9
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#16277F
secondary
#B4A13D
accent
#D03BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #16277F

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

Preview Lab → · Contrast checker → · Palette generator →

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