#131C48#131C48

#131C48 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.083 H 270.5°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#131C48
RGBrgb(19, 28, 72)
HSLhsl(230, 58%, 18%)
HSVhsv(230, 74%, 28%)
CMYKcmyk(73.6%, 61.1%, 0%, 71.8%)
CIE-LABlab(12.20, 13.02, -28.77)
CIE-LCHlch(12.20, 31.58, 294.35°)
OKLaboklab(24.81% 0.0007 -0.0827)
OKLCHoklch(24.81% 0.083 270.5)
XYZxyz(1.8531, 1.4367, 6.3093)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C48 #483F13
analogous
#133648 #131C48 #241348
triadic
#131C48 #48131C #1C4813
tetradic
#131C48 #481336 #483F13 #134824
square
#131C48 #481336 #483F13 #134824
split-complementary
#131C48 #482413 #364813
monochromatic
#060918 #060918 #131C48 #202F78 #2D42A9

Accessibility & contrast

On white

16.31
#131C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#131C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C48
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C48#FFFFFF#000000##FFFFFF
##131C481.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131c48;
/* rgb */ color: rgb(19, 28, 72);
/* oklch */ color: oklch(24.8% 0.083 270.5);
Tailwind
colors: {
  custom: {
    50: '#58577b',
    500: '#131c48',
    950: '#000000',
  },
}
SCSS
$custom: #131c48;
$custom-light: #58577b;
$custom-dark: #000000;
JSON
{
  "hex": "#131c48",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 229.811,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24806,
    "c": 0.08272,
    "h": 270.5
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#131C48
secondary
#817436
accent
#C746E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #131C48

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

Preview Lab → · Contrast checker → · Palette generator →

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