#13128C#13128C

#13128C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.186 H 268.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#13128C
RGBrgb(19, 18, 140)
HSLhsl(240, 77%, 31%)
HSVhsv(240, 87%, 55%)
CMYKcmyk(86.4%, 87.1%, 0%, 45.1%)
CIE-LABlab(17.75, 44.52, -64.28)
CIE-LCHlch(17.75, 78.20, 304.71°)
OKLaboklab(31.06% -0.0041 -0.1861)
OKLCHoklch(31.06% 0.186 268.7)
XYZxyz(5.2169, 2.4639, 25.0065)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13128C #8B8C12
analogous
#124E8C #13128C #50128C
triadic
#13128C #8C1312 #128C13
tetradic
#13128C #8C124E #8B8C12 #128C50
square
#13128C #8C124E #8B8C12 #128C50
split-complementary
#13128C #8C5012 #4E8C12
monochromatic
#040420 #0C0B56 #13128C #1A19C2 #3534E5

Accessibility & contrast

On white

14.07
#13128C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#13128C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13128C
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13128C#FFFFFF#000000##FFFFFF
##13128C1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328F
Deuteranopia (green-blind)
#00258A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #13128c;
/* rgb */ color: rgb(19, 18, 140);
/* oklch */ color: oklch(31.1% 0.186 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d55af',
    500: '#13128c',
    950: '#000000',
  },
}
SCSS
$custom: #13128c;
$custom-light: #6d55af;
$custom-dark: #000000;
JSON
{
  "hex": "#13128c",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 140
  },
  "hsl": {
    "h": 240.492,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31057,
    "c": 0.18611,
    "h": 268.7
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#13128C
secondary
#BFC039
accent
#F434F2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #13128C

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

Preview Lab → · Contrast checker → · Palette generator →

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