#131247#131247

#131247 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.096 H 276.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#131247
RGBrgb(19, 18, 71)
HSLhsl(241, 60%, 17%)
HSVhsv(241, 75%, 28%)
CMYKcmyk(73.2%, 74.6%, 0%, 72.2%)
CIE-LABlab(9.21, 20.08, -32.96)
CIE-LCHlch(9.21, 38.59, 301.35°)
OKLaboklab(22.57% 0.0106 -0.0951)
OKLCHoklch(22.57% 0.096 276.3)
XYZxyz(1.6218, 1.0259, 6.0726)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131247 #464712
analogous
#122C47 #131247 #2D1247
triadic
#131247 #471312 #124713
tetradic
#131247 #47122C #464712 #12472D
square
#131247 #47122C #464712 #12472D
split-complementary
#131247 #472D12 #2C4712
monochromatic
#070618 #070618 #131247 #201E78 #2D2BA9

Accessibility & contrast

On white

17.42
#131247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131247
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131247#FFFFFF#000000##FFFFFF
##1312471.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131247;
/* rgb */ color: rgb(19, 18, 71);
/* oklch */ color: oklch(22.6% 0.096 276.3);
Tailwind
colors: {
  custom: {
    50: '#59507b',
    500: '#131247',
    950: '#000000',
  },
}
SCSS
$custom: #131247;
$custom-light: #59507b;
$custom-dark: #000000;
JSON
{
  "hex": "#131247",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 241.132,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22565,
    "c": 0.09568,
    "h": 276.3
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#131247
secondary
#7F8035
accent
#E345E0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #131247

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

Preview Lab → · Contrast checker → · Palette generator →

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