#16277B#16277B

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

Color values

HEX#16277B
RGBrgb(22, 39, 123)
HSLhsl(230, 70%, 28%)
HSVhsv(230, 82%, 48%)
CMYKcmyk(82.1%, 68.3%, 0%, 51.8%)
CIE-LABlab(20.25, 26.37, -49.42)
CIE-LCHlch(20.25, 56.02, 298.08°)
OKLaboklab(32.29% -0.0052 -0.1431)
OKLCHoklch(32.29% 0.143 267.9)
XYZxyz(4.6303, 3.0511, 19.0799)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16277B #7B6A16
analogous
#16597B #16277B #37167B
triadic
#16277B #7B1627 #277B16
tetradic
#16277B #7B1659 #7B6A16 #167B37
square
#16277B #7B1659 #7B6A16 #167B37
split-complementary
#16277B #7B3716 #597B16
monochromatic
#05081A #0D1747 #16277B #1F37AF #314EDA

Accessibility & contrast

On white

13.04
#16277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#16277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16277B
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16277B#FFFFFF#000000##FFFFFF
##16277B1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #16277b;
/* rgb */ color: rgb(22, 39, 123);
/* oklch */ color: oklch(32.3% 0.143 267.9);
Tailwind
colors: {
  custom: {
    50: '#6661a2',
    500: '#16277b',
    950: '#000000',
  },
}
SCSS
$custom: #16277b;
$custom-light: #6661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16277b",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 229.901,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32289,
    "c": 0.14317,
    "h": 267.9
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#16277B
secondary
#B09D3D
accent
#CF3BEC
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #16277B

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

Preview Lab → · Contrast checker → · Palette generator →

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