#13125C#13125C

#13125C is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 25.0% C 0.126 H 273.1°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#13125C
RGBrgb(19, 18, 92)
HSLhsl(241, 67%, 22%)
HSVhsv(241, 80%, 36%)
CMYKcmyk(79.3%, 80.4%, 0%, 63.9%)
CIE-LABlab(11.58, 28.15, -43.45)
CIE-LCHlch(11.58, 51.77, 302.94°)
OKLaboklab(24.98% 0.0067 -0.1257)
OKLCHoklch(24.98% 0.126 273.1)
XYZxyz(2.4160, 1.3435, 10.2551)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13125C #5B5C12
analogous
#12365C #13125C #38125C
triadic
#13125C #5C1312 #125C13
tetradic
#13125C #5C1236 #5B5C12 #125C38
square
#13125C #5C1236 #5B5C12 #125C38
split-complementary
#13125C #5C3812 #365C12
monochromatic
#05051A #080829 #13125C #1E1C8F #2826C2

Accessibility & contrast

On white

16.55
#13125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13125C
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13125C#FFFFFF#000000##FFFFFF
##13125C1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001B5B
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #13125c;
/* rgb */ color: rgb(19, 18, 92);
/* oklch */ color: oklch(25.0% 0.126 273.1);
Tailwind
colors: {
  custom: {
    50: '#5f518b',
    500: '#13125c',
    950: '#000000',
  },
}
SCSS
$custom: #13125c;
$custom-light: #5f518b;
$custom-dark: #000000;
JSON
{
  "hex": "#13125c",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 240.811,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.24976,
    "c": 0.12591,
    "h": 273.1
  },
  "luminance": 0.01344
}

Semantic roles & 50–950 ramp

primary
#13125C
secondary
#939435
accent
#EA3EE8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #13125C

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

Preview Lab → · Contrast checker → · Palette generator →

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