#13125B#13125B

#13125B is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.9% C 0.125 H 273.2°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#13125B
RGBrgb(19, 18, 91)
HSLhsl(241, 67%, 21%)
HSVhsv(241, 80%, 36%)
CMYKcmyk(79.1%, 80.2%, 0%, 64.3%)
CIE-LABlab(11.46, 27.78, -42.98)
CIE-LCHlch(11.46, 51.17, 302.88°)
OKLaboklab(24.86% 0.0069 -0.1243)
OKLCHoklch(24.86% 0.125 273.2)
XYZxyz(2.3726, 1.3261, 10.0264)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13125B #5A5B12
analogous
#12365B #13125B #38125B
triadic
#13125B #5B1312 #125B13
tetradic
#13125B #5B1236 #5A5B12 #125B38
square
#13125B #5B1236 #5A5B12 #125B38
split-complementary
#13125B #5B3812 #365B12
monochromatic
#05051A #080828 #13125B #1E1C8E #2826C1

Accessibility & contrast

On white

16.60
#13125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#13125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13125B
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13125B#FFFFFF#000000##FFFFFF
##13125B1.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001B5A
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #13125b;
/* rgb */ color: rgb(19, 18, 91);
/* oklch */ color: oklch(24.9% 0.125 273.2);
Tailwind
colors: {
  custom: {
    50: '#5f518a',
    500: '#13125b',
    950: '#000000',
  },
}
SCSS
$custom: #13125b;
$custom-light: #5f518a;
$custom-dark: #000000;
JSON
{
  "hex": "#13125b",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 240.822,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.24856,
    "c": 0.12454,
    "h": 273.2
  },
  "luminance": 0.01326
}

Semantic roles & 50–950 ramp

primary
#13125B
secondary
#929335
accent
#EA3EE8
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #13125B

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

Preview Lab → · Contrast checker → · Palette generator →

#13125B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva