#131348#131348

#131348 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.096 H 275.7°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#131348
RGBrgb(19, 19, 72)
HSLhsl(240, 58%, 18%)
HSVhsv(240, 74%, 28%)
CMYKcmyk(73.6%, 73.6%, 0%, 71.8%)
CIE-LABlab(9.58, 19.76, -33.05)
CIE-LCHlch(9.58, 38.50, 300.88°)
OKLaboklab(22.87% 0.0095 -0.0954)
OKLCHoklch(22.87% 0.096 275.7)
XYZxyz(1.6707, 1.0719, 6.2485)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131348 #484813
analogous
#132D48 #131348 #2D1348
triadic
#131348 #481313 #134813
tetradic
#131348 #48132D #484813 #13482D
square
#131348 #48132D #484813 #13482D
split-complementary
#131348 #482D13 #2D4813
monochromatic
#060618 #060618 #131348 #202078 #2D2DA9

Accessibility & contrast

On white

17.29
#131348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#131348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131348
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131348#FFFFFF#000000##FFFFFF
##1313481.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001847
Tritanopia (blue-blind)
#00212B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #131348;
/* rgb */ color: rgb(19, 19, 72);
/* oklch */ color: oklch(22.9% 0.096 275.7);
Tailwind
colors: {
  custom: {
    50: '#59507c',
    500: '#131348',
    950: '#000000',
  },
}
SCSS
$custom: #131348;
$custom-light: #59507c;
$custom-dark: #000000;
JSON
{
  "hex": "#131348",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 240,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22867,
    "c": 0.09584,
    "h": 275.7
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#131348
secondary
#818136
accent
#E146E1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #131348

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

Preview Lab → · Contrast checker → · Palette generator →

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