#16278F#16278F

#16278F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.170 H 267.7°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#16278F
RGBrgb(22, 39, 143)
HSLhsl(232, 73%, 32%)
HSVhsv(232, 85%, 56%)
CMYKcmyk(84.6%, 72.7%, 0%, 43.9%)
CIE-LABlab(22.32, 34.07, -58.59)
CIE-LCHlch(22.32, 67.77, 300.18°)
OKLaboklab(34.42% -0.0068 -0.1698)
OKLCHoklch(34.42% 0.17 267.7)
XYZxyz(6.0126, 3.6041, 26.3600)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16278F #8F7E16
analogous
#16648F #16278F #41168F
triadic
#16278F #8F1627 #278F16
tetradic
#16278F #8F1664 #8F7E16 #168F41
square
#16278F #8F1664 #8F7E16 #168F41
split-complementary
#16278F #8F4116 #648F16
monochromatic
#060A25 #0E195A #16278F #1E35C4 #3E55E1

Accessibility & contrast

On white

12.20
#16278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#16278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16278F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16278F#FFFFFF#000000##FFFFFF
##16278F1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #16278f;
/* rgb */ color: rgb(22, 39, 143);
/* oklch */ color: oklch(34.4% 0.170 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c61b1',
    500: '#16278f',
    950: '#000000',
  },
}
SCSS
$custom: #16278f;
$custom-light: #6c61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#16278f",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 231.57,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34415,
    "c": 0.16994,
    "h": 267.7
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#16278F
secondary
#C1AF3F
accent
#D638F0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #16278F

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

Preview Lab → · Contrast checker → · Palette generator →

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