#16215E#16215E

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

Color values

HEX#16215E
RGBrgb(22, 33, 94)
HSLhsl(231, 62%, 23%)
HSVhsv(231, 77%, 37%)
CMYKcmyk(76.6%, 64.9%, 0%, 63.1%)
CIE-LABlab(15.83, 18.94, -37.80)
CIE-LCHlch(15.83, 42.28, 296.61°)
OKLaboklab(28.18% 0 -0.1091)
OKLCHoklch(28.18% 0.109 270)
XYZxyz(2.8944, 2.0661, 10.8338)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16215E #5E5316
analogous
#16455E #16215E #2F165E
triadic
#16215E #5E1621 #215E16
tetradic
#16215E #5E1645 #5E5316 #165E2F
square
#16215E #5E1645 #5E5316 #165E2F
split-complementary
#16215E #5E2F16 #455E16
monochromatic
#060919 #0A102C #16215E #223290 #2D44C1

Accessibility & contrast

On white

14.86
#16215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#16215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16215E
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16215E#FFFFFF#000000##FFFFFF
##16215E1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00245D
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #16215e;
/* rgb */ color: rgb(22, 33, 94);
/* oklch */ color: oklch(28.2% 0.109 270.0);
Tailwind
colors: {
  custom: {
    50: '#5f5c8c',
    500: '#16215e',
    950: '#000000',
  },
}
SCSS
$custom: #16215e;
$custom-light: #5f5c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#16215e",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 230.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28178,
    "c": 0.10909,
    "h": 270
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#16215E
secondary
#95873B
accent
#CC43E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16215E

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

Preview Lab → · Contrast checker → · Palette generator →

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