#16338F#16338F

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

Color values

HEX#16338F
RGBrgb(22, 51, 143)
HSLhsl(226, 73%, 32%)
HSVhsv(226, 85%, 56%)
CMYKcmyk(84.6%, 64.3%, 0%, 43.9%)
CIE-LABlab(25.32, 26.05, -53.64)
CIE-LCHlch(25.32, 59.63, 295.90°)
OKLaboklab(36.61% -0.0124 -0.1553)
OKLCHoklch(36.61% 0.156 265.4)
XYZxyz(6.4709, 4.5206, 26.5128)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16338F #8F7216
analogous
#166F8F #16338F #36168F
triadic
#16338F #8F1633 #338F16
tetradic
#16338F #8F166F #8F7216 #168F36
square
#16338F #8F166F #8F7216 #168F36
split-complementary
#16338F #8F3616 #6F8F16
monochromatic
#060D25 #0E205A #16338F #1E46C4 #3E65E1

Accessibility & contrast

On white

11.03
#16338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16338F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16338F#FFFFFF#000000##FFFFFF
##16338F1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #16338f;
/* rgb */ color: rgb(22, 51, 143);
/* oklch */ color: oklch(36.6% 0.156 265.4);
Tailwind
colors: {
  custom: {
    50: '#6b6ab1',
    500: '#16338f',
    950: '#000000',
  },
}
SCSS
$custom: #16338f;
$custom-light: #6b6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#16338f",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 225.62,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36613,
    "c": 0.1558,
    "h": 265.4
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#16338F
secondary
#C1A23F
accent
#C438F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #16338F

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

Preview Lab → · Contrast checker → · Palette generator →

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