#131152#131152

#131152 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.113 H 274.8°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#131152
RGBrgb(19, 17, 82)
HSLhsl(242, 66%, 19%)
HSVhsv(242, 79%, 32%)
CMYKcmyk(76.8%, 79.3%, 0%, 67.8%)
CIE-LABlab(10.17, 25.04, -38.98)
CIE-LCHlch(10.17, 46.33, 302.71°)
OKLaboklab(23.63% 0.0094 -0.1127)
OKLCHoklch(23.63% 0.113 274.8)
XYZxyz(1.9915, 1.1484, 8.0977)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131152 #505211
analogous
#113052 #131152 #341152
triadic
#131152 #521311 #115213
tetradic
#131152 #521130 #505211 #115234
square
#131152 #521130 #505211 #115234
split-complementary
#131152 #523411 #305211
monochromatic
#060519 #07061F #131152 #1F1C85 #2A26B7

Accessibility & contrast

On white

17.08
#131152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#131152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131152
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131152#FFFFFF#000000##FFFFFF
##1311521.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #131152;
/* rgb */ color: rgb(19, 17, 82);
/* oklch */ color: oklch(23.6% 0.113 274.8);
Tailwind
colors: {
  custom: {
    50: '#5c5083',
    500: '#131152',
    950: '#000000',
  },
}
SCSS
$custom: #131152;
$custom-light: #5c5083;
$custom-dark: #000000;
JSON
{
  "hex": "#131152",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 241.846,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23627,
    "c": 0.11311,
    "h": 274.8
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#131152
secondary
#898B34
accent
#E93FE3
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #131152

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

Preview Lab → · Contrast checker → · Palette generator →

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