#16398F#16398F

#16398F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.148 H 263.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#16398F
RGBrgb(22, 57, 143)
HSLhsl(223, 73%, 32%)
HSVhsv(223, 85%, 56%)
CMYKcmyk(84.6%, 60.1%, 0%, 43.9%)
CIE-LABlab(26.96, 21.89, -50.97)
CIE-LCHlch(26.96, 55.47, 293.24°)
OKLaboklab(37.83% -0.0159 -0.1474)
OKLCHoklch(37.83% 0.148 263.9)
XYZxyz(6.7502, 5.0792, 26.6059)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16398F #8F6C16
analogous
#16758F #16398F #30168F
triadic
#16398F #8F1639 #398F16
tetradic
#16398F #8F1675 #8F6C16 #168F30
square
#16398F #8F1675 #8F6C16 #168F30
split-complementary
#16398F #8F3016 #758F16
monochromatic
#060F25 #0E245A #16398F #1E4EC4 #3E6DE1

Accessibility & contrast

On white

10.42
#16398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#16398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16398F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16398F#FFFFFF#000000##FFFFFF
##16398F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #16398f;
/* rgb */ color: rgb(22, 57, 143);
/* oklch */ color: oklch(37.8% 0.148 263.9);
Tailwind
colors: {
  custom: {
    50: '#6a6eb1',
    500: '#16398f',
    950: '#000000',
  },
}
SCSS
$custom: #16398f;
$custom-light: #6a6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#16398f",
  "rgb": {
    "r": 22,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 222.645,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37832,
    "c": 0.14823,
    "h": 263.9
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#16398F
secondary
#C19C3F
accent
#BB38F0
background
#F6F6FB
surface
#ECEBF6
border
#C7C6D0
text
#080711
muted
#7A7A80

Preview Lab

Preview with #16398F

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

Preview Lab → · Contrast checker → · Palette generator →

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