#131254#131254

#131254 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.0% C 0.115 H 274.2°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#131254
RGBrgb(19, 18, 84)
HSLhsl(241, 65%, 20%)
HSVhsv(241, 79%, 33%)
CMYKcmyk(77.4%, 78.6%, 0%, 67.1%)
CIE-LABlab(10.64, 25.14, -39.58)
CIE-LCHlch(10.64, 46.89, 302.42°)
OKLaboklab(24.03% 0.0084 -0.1145)
OKLCHoklch(24.03% 0.115 274.2)
XYZxyz(2.0846, 1.2109, 8.5097)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131254 #535412
analogous
#123254 #131254 #341254
triadic
#131254 #541312 #125413
tetradic
#131254 #541232 #535412 #125434
square
#131254 #541232 #535412 #125434
split-complementary
#131254 #543412 #325412
monochromatic
#060519 #080722 #131254 #1E1D86 #2A28B9

Accessibility & contrast

On white

16.91
#131254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131254
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131254#FFFFFF#000000##FFFFFF
##1312541.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131254;
/* rgb */ color: rgb(19, 18, 84);
/* oklch */ color: oklch(24.0% 0.115 274.2);
Tailwind
colors: {
  custom: {
    50: '#5d5085',
    500: '#131254',
    950: '#000000',
  },
}
SCSS
$custom: #131254;
$custom-light: #5d5085;
$custom-dark: #000000;
JSON
{
  "hex": "#131254",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 240.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.2403,
    "c": 0.11476,
    "h": 274.2
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#131254
secondary
#8B8D35
accent
#E840E5
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #131254

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

Preview Lab → · Contrast checker → · Palette generator →

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