#16338E#16338E

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

Color values

HEX#16338E
RGBrgb(22, 51, 142)
HSLhsl(226, 73%, 32%)
HSVhsv(226, 85%, 56%)
CMYKcmyk(84.5%, 64.1%, 0%, 44.3%)
CIE-LABlab(25.23, 25.65, -53.18)
CIE-LCHlch(25.23, 59.04, 295.75°)
OKLaboklab(36.52% -0.0124 -0.1539)
OKLCHoklch(36.52% 0.154 265.4)
XYZxyz(6.3955, 4.4904, 26.1156)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16338E #8E7116
analogous
#166F8E #16338E #35168E
triadic
#16338E #8E1633 #338E16
tetradic
#16338E #8E166F #8E7116 #168E35
square
#16338E #8E166F #8E7116 #168E35
split-complementary
#16338E #8E3516 #6F8E16
monochromatic
#060D24 #0E2059 #16338E #1E46C3 #3D65E1

Accessibility & contrast

On white

11.06
#16338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#16338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16338E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16338E#FFFFFF#000000##FFFFFF
##16338E1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16338e;
/* rgb */ color: rgb(22, 51, 142);
/* oklch */ color: oklch(36.5% 0.154 265.4);
Tailwind
colors: {
  custom: {
    50: '#6b6ab0',
    500: '#16338e',
    950: '#000000',
  },
}
SCSS
$custom: #16338e;
$custom-light: #6b6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#16338e",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 225.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36517,
    "c": 0.15444,
    "h": 265.4
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#16338E
secondary
#C1A23F
accent
#C338F0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #16338E

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

Preview Lab → · Contrast checker → · Palette generator →

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