#13107F#13107F

#13107F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.1% C 0.172 H 269.7°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#13107F
RGBrgb(19, 16, 127)
HSLhsl(242, 78%, 28%)
HSVhsv(242, 87%, 50%)
CMYKcmyk(85%, 87.4%, 0%, 50.2%)
CIE-LABlab(15.70, 41.29, -59.49)
CIE-LCHlch(15.70, 72.42, 304.76°)
OKLaboklab(29.15% -0.0009 -0.1722)
OKLCHoklch(29.15% 0.172 269.7)
XYZxyz(4.2833, 2.0408, 20.2427)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13107F #7C7F10
analogous
#10447F #13107F #4B107F
triadic
#13107F #7F1310 #107F13
tetradic
#13107F #7F1044 #7C7F10 #107F4B
square
#13107F #7F1044 #7C7F10 #107F4B
split-complementary
#13107F #7F4B10 #447F10
monochromatic
#04031B #0B0949 #13107F #1B17B5 #2B26E4

Accessibility & contrast

On white

14.91
#13107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#13107F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13107F
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13107F#FFFFFF#000000##FFFFFF
##13107F1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00217D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #13107f;
/* rgb */ color: rgb(19, 16, 127);
/* oklch */ color: oklch(29.1% 0.172 269.7);
Tailwind
colors: {
  custom: {
    50: '#6952a5',
    500: '#13107f',
    950: '#000000',
  },
}
SCSS
$custom: #13107f;
$custom-light: #6952a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13107f",
  "rgb": {
    "r": 19,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 241.622,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29148,
    "c": 0.17217,
    "h": 269.7
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#13107F
secondary
#B2B536
accent
#F434EF
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08020F
muted
#7A787F

Preview Lab

Preview with #13107F

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

Preview Lab → · Contrast checker → · Palette generator →

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