#131072#131072

#131072 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.5% C 0.156 H 270.8°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#131072
RGBrgb(19, 16, 114)
HSLhsl(242, 75%, 25%)
HSVhsv(242, 86%, 45%)
CMYKcmyk(83.3%, 86%, 0%, 55.3%)
CIE-LABlab(13.96, 37.04, -54.02)
CIE-LCHlch(13.96, 65.50, 304.43°)
OKLaboklab(27.46% 0.0023 -0.1563)
OKLCHoklch(27.46% 0.156 270.8)
XYZxyz(3.4901, 1.7235, 16.0651)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131072 #6F7210
analogous
#103E72 #131072 #441072
triadic
#131072 #721310 #107213
tetradic
#131072 #72103E #6F7210 #107244
square
#131072 #72103E #6F7210 #107244
split-complementary
#131072 #724410 #3E7210
monochromatic
#04041B #0A083C #131072 #1C18A8 #251FDD

Accessibility & contrast

On white

15.62
#131072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131072
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131072#FFFFFF#000000##FFFFFF
##1310721.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002875
Deuteranopia (green-blind)
#001E70
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131072;
/* rgb */ color: rgb(19, 16, 114);
/* oklch */ color: oklch(27.5% 0.156 270.8);
Tailwind
colors: {
  custom: {
    50: '#65519c',
    500: '#131072',
    950: '#000000',
  },
}
SCSS
$custom: #131072;
$custom-light: #65519c;
$custom-dark: #000000;
JSON
{
  "hex": "#131072",
  "rgb": {
    "r": 19,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 241.837,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27455,
    "c": 0.15637,
    "h": 270.8
  },
  "luminance": 0.01724
}

Semantic roles & 50–950 ramp

primary
#131072
secondary
#A6A934
accent
#F236EC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #131072

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

Preview Lab → · Contrast checker → · Palette generator →

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