#16198F#16198F

#16198F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.184 H 269.1°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#16198F
RGBrgb(22, 25, 143)
HSLhsl(239, 73%, 32%)
HSVhsv(239, 85%, 56%)
CMYKcmyk(84.6%, 82.5%, 0%, 43.9%)
CIE-LABlab(19.43, 42.26, -63.37)
CIE-LCHlch(19.43, 76.17, 303.70°)
OKLaboklab(32.37% -0.0028 -0.1835)
OKLCHoklch(32.37% 0.184 269.1)
XYZxyz(5.6347, 2.8483, 26.2341)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16198F #8F8C16
analogous
#16568F #16198F #4F168F
triadic
#16198F #8F1619 #198F16
tetradic
#16198F #8F1656 #8F8C16 #168F4F
square
#16198F #8F1656 #8F8C16 #168F4F
split-complementary
#16198F #8F4F16 #568F16
monochromatic
#060625 #0E105A #16198F #1E22C4 #3E42E1

Accessibility & contrast

On white

13.38
#16198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#16198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16198F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16198F#FFFFFF#000000##FFFFFF
##16198F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #16198f;
/* rgb */ color: rgb(22, 25, 143);
/* oklch */ color: oklch(32.4% 0.184 269.1);
Tailwind
colors: {
  custom: {
    50: '#6e59b1',
    500: '#16198f',
    950: '#000000',
  },
}
SCSS
$custom: #16198f;
$custom-light: #6e59b1;
$custom-dark: #000000;
JSON
{
  "hex": "#16198f",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 238.512,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32365,
    "c": 0.18355,
    "h": 269.1
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#16198F
secondary
#C1BE3F
accent
#EB38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #16198F

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

Preview Lab → · Contrast checker → · Palette generator →

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