#16215F#16215F

#16215F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.111 H 270.0°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#16215F
RGBrgb(22, 33, 95)
HSLhsl(231, 62%, 23%)
HSVhsv(231, 77%, 37%)
CMYKcmyk(76.8%, 65.3%, 0%, 62.7%)
CIE-LABlab(15.92, 19.35, -38.31)
CIE-LCHlch(15.92, 42.92, 296.80°)
OKLaboklab(28.28% 0 -0.1106)
OKLCHoklch(28.28% 0.111 270)
XYZxyz(2.9396, 2.0842, 11.0716)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16215F #5F5416
analogous
#16455F #16215F #2F165F
triadic
#16215F #5F1621 #215F16
tetradic
#16215F #5F1645 #5F5416 #165F2F
square
#16215F #5F1645 #5F5416 #165F2F
split-complementary
#16215F #5F2F16 #455F16
monochromatic
#060919 #0A102D #16215F #223291 #2D44C2

Accessibility & contrast

On white

14.82
#16215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#16215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16215F
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16215F#FFFFFF#000000##FFFFFF
##16215F1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #16215f;
/* rgb */ color: rgb(22, 33, 95);
/* oklch */ color: oklch(28.3% 0.111 270.0);
Tailwind
colors: {
  custom: {
    50: '#5f5c8d',
    500: '#16215f',
    950: '#000000',
  },
}
SCSS
$custom: #16215f;
$custom-light: #5f5c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#16215f",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 230.959,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28275,
    "c": 0.1106,
    "h": 270
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#16215F
secondary
#96883B
accent
#CD42E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16215F

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

Preview Lab → · Contrast checker → · Palette generator →

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