#13128F#13128F

#13128F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.190 H 268.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#13128F
RGBrgb(19, 18, 143)
HSLhsl(240, 78%, 32%)
HSVhsv(240, 87%, 56%)
CMYKcmyk(86.7%, 87.4%, 0%, 43.9%)
CIE-LABlab(18.16, 45.46, -65.48)
CIE-LCHlch(18.16, 79.72, 304.77°)
OKLaboklab(31.45% -0.0047 -0.1895)
OKLCHoklch(31.45% 0.19 268.6)
XYZxyz(5.4411, 2.5536, 26.1874)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13128F #8E8F12
analogous
#12508F #13128F #52128F
triadic
#13128F #8F1312 #128F13
tetradic
#13128F #8F1250 #8E8F12 #128F52
square
#13128F #8F1250 #8E8F12 #128F52
split-complementary
#13128F #8F5212 #508F12
monochromatic
#050422 #0C0B59 #13128F #1A19C5 #3736E6

Accessibility & contrast

On white

13.90
#13128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#13128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13128F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13128F#FFFFFF#000000##FFFFFF
##13128F1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00258D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #13128f;
/* rgb */ color: rgb(19, 18, 143);
/* oklch */ color: oklch(31.4% 0.190 268.6);
Tailwind
colors: {
  custom: {
    50: '#6e55b1',
    500: '#13128f',
    950: '#000000',
  },
}
SCSS
$custom: #13128f;
$custom-light: #6e55b1;
$custom-dark: #000000;
JSON
{
  "hex": "#13128f",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 240.48,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31449,
    "c": 0.18958,
    "h": 268.6
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#13128F
secondary
#C2C33A
accent
#F434F3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #13128F

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

Preview Lab → · Contrast checker → · Palette generator →

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