#13216E#13216E

#13216E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.6% C 0.133 H 268.4°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#13216E
RGBrgb(19, 33, 110)
HSLhsl(231, 71%, 25%)
HSVhsv(231, 83%, 43%)
CMYKcmyk(82.7%, 70%, 0%, 56.9%)
CIE-LABlab(17.23, 25.07, -46.02)
CIE-LCHlch(17.23, 52.41, 298.58°)
OKLaboklab(29.65% -0.0038 -0.1332)
OKLCHoklch(29.65% 0.133 268.4)
XYZxyz(3.6259, 2.3515, 15.0116)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13216E #6E6013
analogous
#134F6E #13216E #32136E
triadic
#13216E #6E1321 #216E13
tetradic
#13216E #6E134F #6E6013 #136E32
square
#13216E #6E134F #6E6013 #136E32
split-complementary
#13216E #6E3213 #4F6E13
monochromatic
#05081A #0A113A #13216E #1C31A2 #2540D6

Accessibility & contrast

On white

14.28
#13216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13216E
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13216E#FFFFFF#000000##FFFFFF
##13216E1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #13216e;
/* rgb */ color: rgb(19, 33, 110);
/* oklch */ color: oklch(29.6% 0.133 268.4);
Tailwind
colors: {
  custom: {
    50: '#625c98',
    500: '#13216e',
    950: '#000000',
  },
}
SCSS
$custom: #13216e;
$custom-light: #625c98;
$custom-dark: #000000;
JSON
{
  "hex": "#13216e",
  "rgb": {
    "r": 19,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 230.769,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29647,
    "c": 0.13329,
    "h": 268.4
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#13216E
secondary
#A59438
accent
#D23AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #13216E

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

Preview Lab → · Contrast checker → · Palette generator →

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