#13125D#13125D

#13125D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.1% C 0.127 H 272.9°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#13125D
RGBrgb(19, 18, 93)
HSLhsl(241, 68%, 22%)
HSVhsv(241, 81%, 36%)
CMYKcmyk(79.6%, 80.6%, 0%, 63.5%)
CIE-LABlab(11.70, 28.52, -43.92)
CIE-LCHlch(11.70, 52.37, 303.00°)
OKLaboklab(25.1% 0.0065 -0.1271)
OKLCHoklch(25.1% 0.127 272.9)
XYZxyz(2.4600, 1.3611, 10.4869)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13125D #5C5D12
analogous
#12375D #13125D #39125D
triadic
#13125D #5D1312 #125D13
tetradic
#13125D #5D1237 #5C5D12 #125D39
square
#13125D #5D1237 #5C5D12 #125D39
split-complementary
#13125D #5D3912 #375D12
monochromatic
#05051A #09082A #13125D #1D1C90 #2826C4

Accessibility & contrast

On white

16.51
#13125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13125D
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13125D#FFFFFF#000000##FFFFFF
##13125D1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #13125d;
/* rgb */ color: rgb(19, 18, 93);
/* oklch */ color: oklch(25.1% 0.127 272.9);
Tailwind
colors: {
  custom: {
    50: '#5f518c',
    500: '#13125d',
    950: '#000000',
  },
}
SCSS
$custom: #13125d;
$custom-light: #5f518c;
$custom-dark: #000000;
JSON
{
  "hex": "#13125d",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 240.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25097,
    "c": 0.12728,
    "h": 272.9
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#13125D
secondary
#949535
accent
#EA3DE8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #13125D

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

Preview Lab → · Contrast checker → · Palette generator →

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