#16338D#16338D

#16338D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.153 H 265.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#16338D
RGBrgb(22, 51, 141)
HSLhsl(225, 73%, 32%)
HSVhsv(225, 84%, 55%)
CMYKcmyk(84.4%, 63.8%, 0%, 44.7%)
CIE-LABlab(25.14, 25.25, -52.71)
CIE-LCHlch(25.14, 58.44, 295.60°)
OKLaboklab(36.42% -0.0124 -0.1526)
OKLCHoklch(36.42% 0.153 265.4)
XYZxyz(6.3207, 4.4605, 25.7220)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16338D #8D7016
analogous
#166F8D #16338D #35168D
triadic
#16338D #8D1633 #338D16
tetradic
#16338D #8D166F #8D7016 #168D35
square
#16338D #8D166F #8D7016 #168D35
split-complementary
#16338D #8D3516 #6F8D16
monochromatic
#050D23 #0E2058 #16338D #1E46C2 #3D65E1

Accessibility & contrast

On white

11.10
#16338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#16338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16338D
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16338D#FFFFFF#000000##FFFFFF
##16338D1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #16338d;
/* rgb */ color: rgb(22, 51, 141);
/* oklch */ color: oklch(36.4% 0.153 265.4);
Tailwind
colors: {
  custom: {
    50: '#6a6aaf',
    500: '#16338d',
    950: '#000000',
  },
}
SCSS
$custom: #16338d;
$custom-light: #6a6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#16338d",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 225.378,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3642,
    "c": 0.15307,
    "h": 265.4
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#16338D
secondary
#C1A13E
accent
#C338F0
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #16338D

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

Preview Lab → · Contrast checker → · Palette generator →

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