#16297E#16297E

#16297E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.145 H 267.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#16297E
RGBrgb(22, 41, 126)
HSLhsl(229, 70%, 29%)
HSVhsv(229, 83%, 49%)
CMYKcmyk(82.5%, 67.5%, 0%, 50.6%)
CIE-LABlab(21.06, 26.18, -49.99)
CIE-LCHlch(21.06, 56.43, 297.64°)
OKLaboklab(32.98% -0.0064 -0.1447)
OKLCHoklch(32.98% 0.145 267.4)
XYZxyz(4.8884, 3.2622, 20.1067)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16297E #7E6B16
analogous
#165D7E #16297E #37167E
triadic
#16297E #7E1629 #297E16
tetradic
#16297E #7E165D #7E6B16 #167E37
square
#16297E #7E165D #7E6B16 #167E37
split-complementary
#16297E #7E3716 #5D7E16
monochromatic
#05081A #0D184A #16297E #1F3AB2 #3352DB

Accessibility & contrast

On white

12.71
#16297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16297E
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16297E#FFFFFF#000000##FFFFFF
##16297E1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #16297e;
/* rgb */ color: rgb(22, 41, 126);
/* oklch */ color: oklch(33.0% 0.145 267.4);
Tailwind
colors: {
  custom: {
    50: '#6762a4',
    500: '#16297e',
    950: '#000000',
  },
}
SCSS
$custom: #16297e;
$custom-light: #6762a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16297e",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 229.038,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32978,
    "c": 0.14485,
    "h": 267.4
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16297E

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

Preview Lab → · Contrast checker → · Palette generator →

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