#13216F#13216F

#13216F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.135 H 268.3°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#13216F
RGBrgb(19, 33, 111)
HSLhsl(231, 71%, 25%)
HSVhsv(231, 83%, 44%)
CMYKcmyk(82.9%, 70.3%, 0%, 56.5%)
CIE-LABlab(17.34, 25.47, -46.50)
CIE-LCHlch(17.34, 53.02, 298.71°)
OKLaboklab(29.75% -0.0039 -0.1346)
OKLCHoklch(29.75% 0.135 268.3)
XYZxyz(3.6807, 2.3734, 15.3000)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13216F #6F6113
analogous
#134F6F #13216F #33136F
triadic
#13216F #6F1321 #216F13
tetradic
#13216F #6F134F #6F6113 #136F33
square
#13216F #6F134F #6F6113 #136F33
split-complementary
#13216F #6F3313 #4F6F13
monochromatic
#04081A #0A113B #13216F #1C31A3 #2540D8

Accessibility & contrast

On white

14.24
#13216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#13216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13216F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13216F#FFFFFF#000000##FFFFFF
##13216F1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #13216f;
/* rgb */ color: rgb(19, 33, 111);
/* oklch */ color: oklch(29.8% 0.135 268.3);
Tailwind
colors: {
  custom: {
    50: '#635c99',
    500: '#13216f',
    950: '#000000',
  },
}
SCSS
$custom: #13216f;
$custom-light: #635c99;
$custom-dark: #000000;
JSON
{
  "hex": "#13216f",
  "rgb": {
    "r": 19,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 230.87,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29753,
    "c": 0.13471,
    "h": 268.3
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#13216F
secondary
#A69538
accent
#D23AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #13216F

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

Preview Lab → · Contrast checker → · Palette generator →

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