#131848#131848

#131848 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.089 H 273.1°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#131848
RGBrgb(19, 24, 72)
HSLhsl(234, 58%, 18%)
HSVhsv(234, 74%, 28%)
CMYKcmyk(73.6%, 66.7%, 0%, 71.8%)
CIE-LABlab(10.99, 16.06, -30.74)
CIE-LCHlch(10.99, 34.68, 297.59°)
OKLaboklab(23.9% 0.0049 -0.0886)
OKLCHoklch(23.9% 0.089 273.1)
XYZxyz(1.7645, 1.2594, 6.2797)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131848 #484313
analogous
#133248 #131848 #291348
triadic
#131848 #481318 #184813
tetradic
#131848 #481332 #484313 #134829
square
#131848 #481332 #484313 #134829
split-complementary
#131848 #482913 #324813
monochromatic
#060818 #060818 #131848 #202878 #2D38A9

Accessibility & contrast

On white

16.77
#131848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#131848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131848
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131848#FFFFFF#000000##FFFFFF
##1318481.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131848;
/* rgb */ color: rgb(19, 24, 72);
/* oklch */ color: oklch(23.9% 0.089 273.1);
Tailwind
colors: {
  custom: {
    50: '#59547b',
    500: '#131848',
    950: '#000000',
  },
}
SCSS
$custom: #131848;
$custom-light: #59547b;
$custom-dark: #000000;
JSON
{
  "hex": "#131848",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 234.34,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23903,
    "c": 0.08869,
    "h": 273.1
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#131848
secondary
#817A36
accent
#D346E1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #131848

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

Preview Lab → · Contrast checker → · Palette generator →

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