#16298D#16298D

#16298D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.165 H 267.4°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#16298D
RGBrgb(22, 41, 141)
HSLhsl(230, 73%, 32%)
HSVhsv(230, 84%, 55%)
CMYKcmyk(84.4%, 70.9%, 0%, 44.7%)
CIE-LABlab(22.58, 32.02, -56.91)
CIE-LCHlch(22.58, 65.30, 299.36°)
OKLaboklab(34.54% -0.0074 -0.1649)
OKLCHoklch(34.54% 0.165 267.4)
XYZxyz(5.9299, 3.6788, 25.5917)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16298D #8D7A16
analogous
#16658D #16298D #3F168D
triadic
#16298D #8D1629 #298D16
tetradic
#16298D #8D1665 #8D7A16 #168D3F
square
#16298D #8D1665 #8D7A16 #168D3F
split-complementary
#16298D #8D3F16 #658D16
monochromatic
#050A23 #0E1A58 #16298D #1E38C2 #3D57E1

Accessibility & contrast

On white

12.10
#16298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#16298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16298D
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16298D#FFFFFF#000000##FFFFFF
##16298D1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #16298d;
/* rgb */ color: rgb(22, 41, 141);
/* oklch */ color: oklch(34.5% 0.165 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b63af',
    500: '#16298d',
    950: '#000000',
  },
}
SCSS
$custom: #16298d;
$custom-light: #6b63af;
$custom-dark: #000000;
JSON
{
  "hex": "#16298d",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 230.42,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34542,
    "c": 0.16509,
    "h": 267.4
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#16298D
secondary
#C1AC3E
accent
#D238F0
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #16298D

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

Preview Lab → · Contrast checker → · Palette generator →

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