#131F47#131F47

#131F47 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.077 H 268.0°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#131F47
RGBrgb(19, 31, 71)
HSLhsl(226, 58%, 18%)
HSVhsv(226, 73%, 28%)
CMYKcmyk(73.2%, 56.3%, 0%, 72.2%)
CIE-LABlab(13.07, 10.31, -26.68)
CIE-LCHlch(13.07, 28.60, 291.12°)
OKLaboklab(25.43% -0.0026 -0.0765)
OKLCHoklch(25.43% 0.077 268)
XYZxyz(1.8955, 1.5732, 6.1638)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F47 #473B13
analogous
#133947 #131F47 #211347
triadic
#131F47 #47131F #1F4713
tetradic
#131F47 #471339 #473B13 #134721
square
#131F47 #471339 #473B13 #134721
split-complementary
#131F47 #472113 #394713
monochromatic
#060B18 #060B18 #131F47 #203477 #2D49A8

Accessibility & contrast

On white

15.97
#131F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#131F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F47
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F47#FFFFFF#000000##FFFFFF
##131F471.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082448
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131f47;
/* rgb */ color: rgb(19, 31, 71);
/* oklch */ color: oklch(25.4% 0.077 268.0);
Tailwind
colors: {
  custom: {
    50: '#585a7a',
    500: '#131f47',
    950: '#000000',
  },
}
SCSS
$custom: #131f47;
$custom-light: #585a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#131f47",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 226.154,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25433,
    "c": 0.07656,
    "h": 268
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#131F47
secondary
#806F36
accent
#BD47E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #131F47

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

Preview Lab → · Contrast checker → · Palette generator →

#131F47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva