#131248#131248

#131248 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.097 H 276.1°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#131248
RGBrgb(19, 18, 72)
HSLhsl(241, 60%, 18%)
HSVhsv(241, 75%, 28%)
CMYKcmyk(73.6%, 75%, 0%, 71.8%)
CIE-LABlab(9.31, 20.48, -33.48)
CIE-LCHlch(9.31, 39.25, 301.45°)
OKLaboklab(22.67% 0.0104 -0.0966)
OKLCHoklch(22.67% 0.097 276.1)
XYZxyz(1.6542, 1.0388, 6.2430)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131248 #474812
analogous
#122C48 #131248 #2E1248
triadic
#131248 #481312 #124813
tetradic
#131248 #48122C #474812 #12482E
square
#131248 #48122C #474812 #12482E
split-complementary
#131248 #482E12 #2C4812
monochromatic
#060618 #060618 #131248 #201E79 #2D2AAA

Accessibility & contrast

On white

17.39
#131248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#131248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131248
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131248#FFFFFF#000000##FFFFFF
##1312481.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001847
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #131248;
/* rgb */ color: rgb(19, 18, 72);
/* oklch */ color: oklch(22.7% 0.097 276.1);
Tailwind
colors: {
  custom: {
    50: '#59507c',
    500: '#131248',
    950: '#000000',
  },
}
SCSS
$custom: #131248;
$custom-light: #59507c;
$custom-dark: #000000;
JSON
{
  "hex": "#131248",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 241.111,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22674,
    "c": 0.0972,
    "h": 276.1
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#131248
secondary
#808135
accent
#E345E0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #131248

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

Preview Lab → · Contrast checker → · Palette generator →

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