#13125E#13125E

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

Color values

HEX#13125E
RGBrgb(19, 18, 94)
HSLhsl(241, 68%, 22%)
HSVhsv(241, 81%, 37%)
CMYKcmyk(79.8%, 80.9%, 0%, 63.1%)
CIE-LABlab(11.82, 28.89, -44.40)
CIE-LCHlch(11.82, 52.97, 303.05°)
OKLaboklab(25.22% 0.0063 -0.1285)
OKLCHoklch(25.22% 0.129 272.8)
XYZxyz(2.5046, 1.3790, 10.7217)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13125E #5D5E12
analogous
#12375E #13125E #39125E
triadic
#13125E #5E1312 #125E13
tetradic
#13125E #5E1237 #5D5E12 #125E39
square
#13125E #5E1237 #5D5E12 #125E39
split-complementary
#13125E #5E3912 #375E12
monochromatic
#05051A #09082B #13125E #1D1C91 #2826C5

Accessibility & contrast

On white

16.46
#13125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#13125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13125E
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13125E#FFFFFF#000000##FFFFFF
##13125E1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #13125e;
/* rgb */ color: rgb(19, 18, 94);
/* oklch */ color: oklch(25.2% 0.129 272.8);
Tailwind
colors: {
  custom: {
    50: '#5f518d',
    500: '#13125e',
    950: '#000000',
  },
}
SCSS
$custom: #13125e;
$custom-light: #5f518d;
$custom-dark: #000000;
JSON
{
  "hex": "#13125e",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 240.789,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25217,
    "c": 0.12863,
    "h": 272.8
  },
  "luminance": 0.01379
}

Semantic roles & 50–950 ramp

primary
#13125E
secondary
#959635
accent
#EB3DE8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #13125E

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

Preview Lab → · Contrast checker → · Palette generator →

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