#16398E#16398E

#16398E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.147 H 263.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#16398E
RGBrgb(22, 57, 142)
HSLhsl(223, 73%, 32%)
HSVhsv(223, 85%, 56%)
CMYKcmyk(84.5%, 59.9%, 0%, 44.3%)
CIE-LABlab(26.87, 21.48, -50.49)
CIE-LCHlch(26.87, 54.87, 293.05°)
OKLaboklab(37.74% -0.0159 -0.146)
OKLCHoklch(37.74% 0.147 263.8)
XYZxyz(6.6747, 5.0490, 26.2087)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16398E #8E6B16
analogous
#16758E #16398E #2F168E
triadic
#16398E #8E1639 #398E16
tetradic
#16398E #8E1675 #8E6B16 #168E2F
square
#16398E #8E1675 #8E6B16 #168E2F
split-complementary
#16398E #8E2F16 #758E16
monochromatic
#060E24 #0E2459 #16398E #1E4EC3 #3D6DE1

Accessibility & contrast

On white

10.45
#16398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#16398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16398E
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16398E#FFFFFF#000000##FFFFFF
##16398E1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #16398e;
/* rgb */ color: rgb(22, 57, 142);
/* oklch */ color: oklch(37.7% 0.147 263.8);
Tailwind
colors: {
  custom: {
    50: '#6a6eb0',
    500: '#16398e',
    950: '#000000',
  },
}
SCSS
$custom: #16398e;
$custom-light: #6a6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#16398e",
  "rgb": {
    "r": 22,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 222.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37742,
    "c": 0.14685,
    "h": 263.8
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16398E

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

Preview Lab → · Contrast checker → · Palette generator →

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