#16298E#16298E

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

Color values

HEX#16298E
RGBrgb(22, 41, 142)
HSLhsl(231, 73%, 32%)
HSVhsv(231, 85%, 56%)
CMYKcmyk(84.5%, 71.1%, 0%, 44.3%)
CIE-LABlab(22.68, 32.40, -57.36)
CIE-LCHlch(22.68, 65.88, 299.46°)
OKLaboklab(34.65% -0.0075 -0.1662)
OKLCHoklch(34.65% 0.166 267.4)
XYZxyz(6.0046, 3.7087, 25.9853)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16298E #8E7B16
analogous
#16658E #16298E #3F168E
triadic
#16298E #8E1629 #298E16
tetradic
#16298E #8E1665 #8E7B16 #168E3F
square
#16298E #8E1665 #8E7B16 #168E3F
split-complementary
#16298E #8E3F16 #658E16
monochromatic
#060A24 #0E1A59 #16298E #1E38C3 #3D57E1

Accessibility & contrast

On white

12.06
#16298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16298E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16298E#FFFFFF#000000##FFFFFF
##16298E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #16298e;
/* rgb */ color: rgb(22, 41, 142);
/* oklch */ color: oklch(34.6% 0.166 267.4);
Tailwind
colors: {
  custom: {
    50: '#6c63b0',
    500: '#16298e',
    950: '#000000',
  },
}
SCSS
$custom: #16298e;
$custom-light: #6c63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#16298e",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 230.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34649,
    "c": 0.1664,
    "h": 267.4
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#16298E
secondary
#C1AC3F
accent
#D338F0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #16298E

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

Preview Lab → · Contrast checker → · Palette generator →

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