#13115F#13115F

#13115F is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.131 H 272.8°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#13115F
RGBrgb(19, 17, 95)
HSLhsl(242, 70%, 22%)
HSVhsv(242, 82%, 37%)
CMYKcmyk(80%, 82.1%, 0%, 62.7%)
CIE-LABlab(11.72, 29.86, -45.22)
CIE-LCHlch(11.72, 54.19, 303.44°)
OKLaboklab(25.19% 0.0065 -0.1308)
OKLCHoklch(25.19% 0.131 272.8)
XYZxyz(2.5339, 1.3653, 10.9542)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13115F #5D5F11
analogous
#11365F #13115F #3A115F
triadic
#13115F #5F1311 #115F13
tetradic
#13115F #5F1136 #5D5F11 #115F3A
square
#13115F #5F1136 #5D5F11 #115F3A
split-complementary
#13115F #5F3A11 #365F11
monochromatic
#05051A #09082B #13115F #1D1A93 #2824C7

Accessibility & contrast

On white

16.49
#13115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#13115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13115F
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13115F#FFFFFF#000000##FFFFFF
##13115F1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001B5E
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #13115f;
/* rgb */ color: rgb(19, 17, 95);
/* oklch */ color: oklch(25.2% 0.131 272.8);
Tailwind
colors: {
  custom: {
    50: '#60508d',
    500: '#13115f',
    950: '#000000',
  },
}
SCSS
$custom: #13115f;
$custom-light: #60508d;
$custom-dark: #000000;
JSON
{
  "hex": "#13115f",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 241.538,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25188,
    "c": 0.13101,
    "h": 272.8
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#13115F
secondary
#959834
accent
#EC3BE8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #13115F

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

Preview Lab → · Contrast checker → · Palette generator →

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