#16298F#16298F

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

Color values

HEX#16298F
RGBrgb(22, 41, 143)
HSLhsl(231, 73%, 32%)
HSVhsv(231, 85%, 56%)
CMYKcmyk(84.6%, 71.3%, 0%, 43.9%)
CIE-LABlab(22.79, 32.77, -57.81)
CIE-LCHlch(22.79, 66.45, 299.55°)
OKLaboklab(34.76% -0.0076 -0.1675)
OKLCHoklch(34.76% 0.168 267.4)
XYZxyz(6.0800, 3.7389, 26.3825)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16298F #8F7C16
analogous
#16658F #16298F #40168F
triadic
#16298F #8F1629 #298F16
tetradic
#16298F #8F1665 #8F7C16 #168F40
square
#16298F #8F1665 #8F7C16 #168F40
split-complementary
#16298F #8F4016 #658F16
monochromatic
#060B25 #0E1A5A #16298F #1E38C4 #3E58E1

Accessibility & contrast

On white

12.01
#16298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#16298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16298F
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16298F#FFFFFF#000000##FFFFFF
##16298F1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #16298f;
/* rgb */ color: rgb(22, 41, 143);
/* oklch */ color: oklch(34.8% 0.168 267.4);
Tailwind
colors: {
  custom: {
    50: '#6c63b1',
    500: '#16298f',
    950: '#000000',
  },
}
SCSS
$custom: #16298f;
$custom-light: #6c63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#16298f",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 230.579,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34756,
    "c": 0.16771,
    "h": 267.4
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16298F

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

Preview Lab → · Contrast checker → · Palette generator →

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