#16277E#16277E

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

Color values

HEX#16277E
RGBrgb(22, 39, 126)
HSLhsl(230, 70%, 29%)
HSVhsv(230, 83%, 49%)
CMYKcmyk(82.5%, 69%, 0%, 50.6%)
CIE-LABlab(20.55, 27.55, -50.84)
CIE-LCHlch(20.55, 57.82, 298.46°)
OKLaboklab(32.6% -0.0053 -0.1472)
OKLCHoklch(32.6% 0.147 267.9)
XYZxyz(4.8210, 3.1274, 20.0842)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16277E #7E6D16
analogous
#165B7E #16277E #39167E
triadic
#16277E #7E1627 #277E16
tetradic
#16277E #7E165B #7E6D16 #167E39
square
#16277E #7E165B #7E6D16 #167E39
split-complementary
#16277E #7E3916 #5B7E16
monochromatic
#05081A #0D174A #16277E #1F37B2 #334FDB

Accessibility & contrast

On white

12.92
#16277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16277E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16277E#FFFFFF#000000##FFFFFF
##16277E1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16277e;
/* rgb */ color: rgb(22, 39, 126);
/* oklch */ color: oklch(32.6% 0.147 267.9);
Tailwind
colors: {
  custom: {
    50: '#6761a4',
    500: '#16277e',
    950: '#000000',
  },
}
SCSS
$custom: #16277e;
$custom-light: #6761a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16277e",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 230.192,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32599,
    "c": 0.14731,
    "h": 267.9
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16277E

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

Preview Lab → · Contrast checker → · Palette generator →

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