#16398D#16398D

#16398D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.145 H 263.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#16398D
RGBrgb(22, 57, 141)
HSLhsl(222, 73%, 32%)
HSVhsv(222, 84%, 55%)
CMYKcmyk(84.4%, 59.6%, 0%, 44.7%)
CIE-LABlab(26.79, 21.08, -50.01)
CIE-LCHlch(26.79, 54.27, 292.85°)
OKLaboklab(37.65% -0.016 -0.1446)
OKLCHoklch(37.65% 0.145 263.7)
XYZxyz(6.6000, 5.0191, 25.8151)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16398D #8D6A16
analogous
#16758D #16398D #2F168D
triadic
#16398D #8D1639 #398D16
tetradic
#16398D #8D1675 #8D6A16 #168D2F
square
#16398D #8D1675 #8D6A16 #168D2F
split-complementary
#16398D #8D2F16 #758D16
monochromatic
#050E23 #0E2458 #16398D #1E4EC2 #3D6DE1

Accessibility & contrast

On white

10.48
#16398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#16398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16398D
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16398D#FFFFFF#000000##FFFFFF
##16398D1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #16398d;
/* rgb */ color: rgb(22, 57, 141);
/* oklch */ color: oklch(37.7% 0.145 263.7);
Tailwind
colors: {
  custom: {
    50: '#6a6eaf',
    500: '#16398d',
    950: '#000000',
  },
}
SCSS
$custom: #16398d;
$custom-light: #6a6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#16398d",
  "rgb": {
    "r": 22,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 222.353,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37652,
    "c": 0.14545,
    "h": 263.7
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#16398D
secondary
#C19A3E
accent
#BA38F0
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #16398D

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

Preview Lab → · Contrast checker → · Palette generator →

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