#16397F#16397F

#16397F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.126 H 262.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#16397F
RGBrgb(22, 57, 127)
HSLhsl(220, 70%, 29%)
HSVhsv(220, 83%, 50%)
CMYKcmyk(82.7%, 55.1%, 0%, 50.2%)
CIE-LABlab(25.65, 15.31, -43.14)
CIE-LCHlch(25.65, 45.78, 289.54°)
OKLaboklab(36.43% -0.0171 -0.1244)
OKLCHoklch(36.43% 0.126 262.2)
XYZxyz(5.6234, 4.6285, 20.6716)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16397F #7F5C16
analogous
#166E7F #16397F #28167F
triadic
#16397F #7F1639 #397F16
tetradic
#16397F #7F166E #7F5C16 #167F28
square
#16397F #7F166E #7F5C16 #167F28
split-complementary
#16397F #7F2816 #6E7F16
monochromatic
#050C1A #0D224B #16397F #1F50B3 #346CDC

Accessibility & contrast

On white

10.90
#16397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#16397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16397F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16397F#FFFFFF#000000##FFFFFF
##16397F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034281
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #16397f;
/* rgb */ color: rgb(22, 57, 127);
/* oklch */ color: oklch(36.4% 0.126 262.2);
Tailwind
colors: {
  custom: {
    50: '#666ea5',
    500: '#16397f',
    950: '#000000',
  },
}
SCSS
$custom: #16397f;
$custom-light: #666ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#16397f",
  "rgb": {
    "r": 22,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 220,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36433,
    "c": 0.12555,
    "h": 262.2
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#16397F
secondary
#B48C3D
accent
#B23BED
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #16397F

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

Preview Lab → · Contrast checker → · Palette generator →

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