#131148#131148

#131148 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.099 H 276.6°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#131148
RGBrgb(19, 17, 72)
HSLhsl(242, 62%, 17%)
HSVhsv(242, 76%, 28%)
CMYKcmyk(73.6%, 76.4%, 0%, 71.8%)
CIE-LABlab(9.05, 21.18, -33.91)
CIE-LCHlch(9.05, 39.98, 301.99°)
OKLaboklab(22.49% 0.0113 -0.0979)
OKLCHoklch(22.49% 0.099 276.6)
XYZxyz(1.6383, 1.0071, 6.2377)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131148 #464811
analogous
#112A48 #131148 #2F1148
triadic
#131148 #481311 #114813
tetradic
#131148 #48112A #464811 #11482F
square
#131148 #48112A #464811 #11482F
split-complementary
#131148 #482F11 #2A4811
monochromatic
#070619 #070619 #131148 #201D7A #2D28AB

Accessibility & contrast

On white

17.48
#131148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#131148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131148
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131148#FFFFFF#000000##FFFFFF
##1311481.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001747
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #131148;
/* rgb */ color: rgb(19, 17, 72);
/* oklch */ color: oklch(22.5% 0.099 276.6);
Tailwind
colors: {
  custom: {
    50: '#594f7c',
    500: '#131148',
    950: '#000000',
  },
}
SCSS
$custom: #131148;
$custom-light: #594f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#131148",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 242.182,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22486,
    "c": 0.09854,
    "h": 276.6
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#131148
secondary
#7F8233
accent
#E543DF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #131148

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

Preview Lab → · Contrast checker → · Palette generator →

#131148 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva