#16335F#16335F

#16335F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.5% C 0.086 H 258.6°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#16335F
RGBrgb(22, 51, 95)
HSLhsl(216, 62%, 23%)
HSVhsv(216, 77%, 37%)
CMYKcmyk(76.8%, 46.3%, 0%, 62.7%)
CIE-LABlab(21.45, 6.19, -29.38)
CIE-LCHlch(21.45, 30.03, 281.89°)
OKLaboklab(32.46% -0.0169 -0.084)
OKLCHoklch(32.46% 0.086 258.6)
XYZxyz(3.5795, 3.3641, 11.2849)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16335F #5F4216
analogous
#16575F #16335F #1D165F
triadic
#16335F #5F1633 #335F16
tetradic
#16335F #5F1657 #5F4216 #165F1D
square
#16335F #5F1657 #5F4216 #165F1D
split-complementary
#16335F #5F1D16 #575F16
monochromatic
#060D19 #0A182D #16335F #224E91 #2D68C2

Accessibility & contrast

On white

12.55
#16335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#16335F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16335F
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16335F#FFFFFF#000000##FFFFFF
##16335F1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3761
Deuteranopia (green-blind)
#10305E
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #16335f;
/* rgb */ color: rgb(22, 51, 95);
/* oklch */ color: oklch(32.5% 0.086 258.6);
Tailwind
colors: {
  custom: {
    50: '#5e6a8d',
    500: '#16335f',
    950: '#000000',
  },
}
SCSS
$custom: #16335f;
$custom-light: #5e6a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#16335f",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 216.164,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32464,
    "c": 0.08571,
    "h": 258.6
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#16335F
secondary
#96723B
accent
#A542E5
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #16335F

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

Preview Lab → · Contrast checker → · Palette generator →

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