#16277D#16277D

#16277D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.146 H 267.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#16277D
RGBrgb(22, 39, 125)
HSLhsl(230, 70%, 29%)
HSVhsv(230, 82%, 49%)
CMYKcmyk(82.4%, 68.8%, 0%, 51%)
CIE-LABlab(20.45, 27.16, -50.37)
CIE-LCHlch(20.45, 57.22, 298.34°)
OKLaboklab(32.5% -0.0053 -0.1458)
OKLCHoklch(32.5% 0.146 267.9)
XYZxyz(4.7568, 3.1017, 19.7461)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16277D #7D6C16
analogous
#165B7D #16277D #39167D
triadic
#16277D #7D1627 #277D16
tetradic
#16277D #7D165B #7D6C16 #167D39
square
#16277D #7D165B #7D6C16 #167D39
split-complementary
#16277D #7D3916 #5B7D16
monochromatic
#05081A #0D1749 #16277D #1F37B1 #324EDB

Accessibility & contrast

On white

12.96
#16277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#16277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16277D
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16277D#FFFFFF#000000##FFFFFF
##16277D1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #16277d;
/* rgb */ color: rgb(22, 39, 125);
/* oklch */ color: oklch(32.5% 0.146 267.9);
Tailwind
colors: {
  custom: {
    50: '#6761a4',
    500: '#16277d',
    950: '#000000',
  },
}
SCSS
$custom: #16277d;
$custom-light: #6761a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16277d",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 230.097,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32495,
    "c": 0.14594,
    "h": 267.9
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#16277D
secondary
#B29F3D
accent
#CF3BED
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #16277D

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

Preview Lab → · Contrast checker → · Palette generator →

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