#131748#131748

#131748 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.090 H 273.7°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#131748
RGBrgb(19, 23, 72)
HSLhsl(235, 58%, 18%)
HSVhsv(235, 74%, 28%)
CMYKcmyk(73.6%, 68.1%, 0%, 71.8%)
CIE-LABlab(10.70, 16.81, -31.22)
CIE-LCHlch(10.70, 35.46, 298.31°)
OKLaboklab(23.69% 0.0058 -0.09)
OKLCHoklch(23.69% 0.09 273.7)
XYZxyz(1.7443, 1.2190, 6.2730)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131748 #484413
analogous
#133148 #131748 #291348
triadic
#131748 #481317 #174813
tetradic
#131748 #481331 #484413 #134829
square
#131748 #481331 #484413 #134829
split-complementary
#131748 #482913 #314813
monochromatic
#060818 #060818 #131748 #202678 #2D36A9

Accessibility & contrast

On white

16.88
#131748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#131748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131748
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131748#FFFFFF#000000##FFFFFF
##1317481.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#00232C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131748;
/* rgb */ color: rgb(19, 23, 72);
/* oklch */ color: oklch(23.7% 0.090 273.7);
Tailwind
colors: {
  custom: {
    50: '#59537b',
    500: '#131748',
    950: '#000000',
  },
}
SCSS
$custom: #131748;
$custom-light: #59537b;
$custom-dark: #000000;
JSON
{
  "hex": "#131748",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 235.472,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23687,
    "c": 0.09016,
    "h": 273.7
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#131748
secondary
#817B36
accent
#D646E1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #131748

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

Preview Lab → · Contrast checker → · Palette generator →

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