#131C3C#131C3C

#131C3C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.063 H 269.4°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#131C3C
RGBrgb(19, 28, 60)
HSLhsl(227, 52%, 15%)
HSVhsv(227, 68%, 24%)
CMYKcmyk(68.3%, 53.3%, 0%, 76.5%)
CIE-LABlab(11.24, 7.98, -21.90)
CIE-LCHlch(11.24, 23.31, 290.01°)
OKLaboklab(23.77% -0.0007 -0.0625)
OKLCHoklch(23.77% 0.063 269.4)
XYZxyz(1.4992, 1.2951, 4.4451)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C3C #3C3313
analogous
#13303C #131C3C #1E133C
triadic
#131C3C #3C131C #1C3C13
tetradic
#131C3C #3C1330 #3C3313 #133C1E
square
#131C3C #3C1330 #3C3313 #133C1E
split-complementary
#131C3C #3C1E13 #303C13
monochromatic
#070B17 #070B17 #131C3C #22326A #304799

Accessibility & contrast

On white

16.68
#131C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#131C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C3C
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C3C#FFFFFF#000000##FFFFFF
##131C3C1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203D
Deuteranopia (green-blind)
#071C3B
Tritanopia (blue-blind)
#002329
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #131c3c;
/* rgb */ color: rgb(19, 28, 60);
/* oklch */ color: oklch(23.8% 0.063 269.4);
Tailwind
colors: {
  custom: {
    50: '#555772',
    500: '#131c3c',
    950: '#000000',
  },
}
SCSS
$custom: #131c3c;
$custom-light: #555772;
$custom-dark: #000000;
JSON
{
  "hex": "#131c3c",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 60
  },
  "hsl": {
    "h": 226.829,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23774,
    "c": 0.0625,
    "h": 269.4
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#131C3C
secondary
#746736
accent
#BC4CDB
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #131C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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