#13127F#13127F

#13127F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.171 H 269.6°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#13127F
RGBrgb(19, 18, 127)
HSLhsl(241, 75%, 28%)
HSVhsv(241, 86%, 50%)
CMYKcmyk(85%, 85.8%, 0%, 50.2%)
CIE-LABlab(16.02, 40.35, -58.96)
CIE-LCHlch(16.02, 71.45, 304.38°)
OKLaboklab(29.37% -0.0012 -0.1707)
OKLCHoklch(29.37% 0.171 269.6)
XYZxyz(4.3143, 2.1029, 20.2531)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13127F #7E7F12
analogous
#12477F #13127F #49127F
triadic
#13127F #7F1312 #127F13
tetradic
#13127F #7F1247 #7E7F12 #127F49
square
#13127F #7F1247 #7E7F12 #127F49
split-complementary
#13127F #7F4912 #477F12
monochromatic
#04041B #0B0A49 #13127F #1B1AB5 #2C2BE1

Accessibility & contrast

On white

14.78
#13127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#13127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13127F
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13127F#FFFFFF#000000##FFFFFF
##13127F1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #13127f;
/* rgb */ color: rgb(19, 18, 127);
/* oklch */ color: oklch(29.4% 0.171 269.6);
Tailwind
colors: {
  custom: {
    50: '#6953a5',
    500: '#13127f',
    950: '#000000',
  },
}
SCSS
$custom: #13127f;
$custom-light: #6953a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13127f",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 240.55,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29368,
    "c": 0.17069,
    "h": 269.6
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#13127F
secondary
#B4B538
accent
#F236F0
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #13127F

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

Preview Lab → · Contrast checker → · Palette generator →

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