#16297D#16297D

#16297D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.143 H 267.4°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#16297D
RGBrgb(22, 41, 125)
HSLhsl(229, 70%, 29%)
HSVhsv(229, 82%, 49%)
CMYKcmyk(82.4%, 67.2%, 0%, 51%)
CIE-LABlab(20.97, 25.78, -49.51)
CIE-LCHlch(20.97, 55.82, 297.51°)
OKLaboklab(32.88% -0.0064 -0.1433)
OKLCHoklch(32.88% 0.143 267.4)
XYZxyz(4.8242, 3.2366, 19.7685)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16297D #7D6A16
analogous
#165D7D #16297D #37167D
triadic
#16297D #7D1629 #297D16
tetradic
#16297D #7D165D #7D6A16 #167D37
square
#16297D #7D165D #7D6A16 #167D37
split-complementary
#16297D #7D3716 #5D7D16
monochromatic
#05091A #0D1849 #16297D #1F3AB1 #3252DB

Accessibility & contrast

On white

12.75
#16297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#16297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16297D
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16297D#FFFFFF#000000##FFFFFF
##16297D1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #16297d;
/* rgb */ color: rgb(22, 41, 125);
/* oklch */ color: oklch(32.9% 0.143 267.4);
Tailwind
colors: {
  custom: {
    50: '#6762a4',
    500: '#16297d',
    950: '#000000',
  },
}
SCSS
$custom: #16297d;
$custom-light: #6762a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16297d",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 228.932,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32877,
    "c": 0.14347,
    "h": 267.4
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#16297D
secondary
#B29C3D
accent
#CC3BED
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #16297D

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

Preview Lab → · Contrast checker → · Palette generator →

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