#13155F#13155F

#13155F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.127 H 272.1°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#13155F
RGBrgb(19, 21, 95)
HSLhsl(238, 67%, 22%)
HSVhsv(238, 80%, 37%)
CMYKcmyk(80%, 77.9%, 0%, 62.7%)
CIE-LABlab(12.61, 27.36, -43.75)
CIE-LCHlch(12.61, 51.60, 302.02°)
OKLaboklab(25.82% 0.0046 -0.1266)
OKLCHoklch(25.82% 0.127 272.1)
XYZxyz(2.6016, 1.5007, 10.9768)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13155F #5F5D13
analogous
#133B5F #13155F #37135F
triadic
#13155F #5F1315 #155F13
tetradic
#13155F #5F133B #5F5D13 #135F37
square
#13155F #5F133B #5F5D13 #135F37
split-complementary
#13155F #5F3713 #3B5F13
monochromatic
#05061A #090A2C #13155F #1D2092 #272CC5

Accessibility & contrast

On white

16.15
#13155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#13155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13155F
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13155F#FFFFFF#000000##FFFFFF
##13155F1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #13155f;
/* rgb */ color: rgb(19, 21, 95);
/* oklch */ color: oklch(25.8% 0.127 272.1);
Tailwind
colors: {
  custom: {
    50: '#5f538d',
    500: '#13155f',
    950: '#000000',
  },
}
SCSS
$custom: #13155f;
$custom-light: #5f538d;
$custom-dark: #000000;
JSON
{
  "hex": "#13155f",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 238.421,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25818,
    "c": 0.12671,
    "h": 272.1
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#13155F
secondary
#979437
accent
#E53EEA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #13155F

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

Preview Lab → · Contrast checker → · Palette generator →

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