#16297F#16297F

#16297F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.146 H 267.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#16297F
RGBrgb(22, 41, 127)
HSLhsl(229, 70%, 29%)
HSVhsv(229, 83%, 50%)
CMYKcmyk(82.7%, 67.7%, 0%, 50.2%)
CIE-LABlab(21.16, 26.58, -50.46)
CIE-LCHlch(21.16, 57.03, 297.77°)
OKLaboklab(33.08% -0.0065 -0.1461)
OKLCHoklch(33.08% 0.146 267.5)
XYZxyz(4.9532, 3.2882, 20.4482)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16297F #7F6C16
analogous
#165E7F #16297F #38167F
triadic
#16297F #7F1629 #297F16
tetradic
#16297F #7F165E #7F6C16 #167F38
square
#16297F #7F165E #7F6C16 #167F38
split-complementary
#16297F #7F3816 #5E7F16
monochromatic
#05081A #0D184B #16297F #1F3AB3 #3452DC

Accessibility & contrast

On white

12.67
#16297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#16297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16297F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16297F#FFFFFF#000000##FFFFFF
##16297F1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #16297f;
/* rgb */ color: rgb(22, 41, 127);
/* oklch */ color: oklch(33.1% 0.146 267.5);
Tailwind
colors: {
  custom: {
    50: '#6762a5',
    500: '#16297f',
    950: '#000000',
  },
}
SCSS
$custom: #16297f;
$custom-light: #6762a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16297f",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 229.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3308,
    "c": 0.14623,
    "h": 267.5
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#16297F
secondary
#B49E3D
accent
#CD3BED
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #16297F

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

Preview Lab → · Contrast checker → · Palette generator →

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