#131854#131854

#131854 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.107 H 272.2°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#131854
RGBrgb(19, 24, 84)
HSLhsl(235, 63%, 20%)
HSVhsv(235, 77%, 33%)
CMYKcmyk(77.4%, 71.4%, 0%, 67.1%)
CIE-LABlab(12.17, 20.98, -37.07)
CIE-LCHlch(12.17, 42.59, 299.51°)
OKLaboklab(25.13% 0.0042 -0.1071)
OKLCHoklch(25.13% 0.107 272.2)
XYZxyz(2.1949, 1.4316, 8.5464)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131854 #544F13
analogous
#133854 #131854 #2F1354
triadic
#131854 #541318 #185413
tetradic
#131854 #541338 #544F13 #13542F
square
#131854 #541338 #544F13 #13542F
split-complementary
#131854 #542F13 #385413
monochromatic
#060719 #080A22 #131854 #1E2686 #2A35B8

Accessibility & contrast

On white

16.32
#131854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#131854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131854
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131854#FFFFFF#000000##FFFFFF
##1318541.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#001D53
Tritanopia (blue-blind)
#002833
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131854;
/* rgb */ color: rgb(19, 24, 84);
/* oklch */ color: oklch(25.1% 0.107 272.2);
Tailwind
colors: {
  custom: {
    50: '#5c5585',
    500: '#131854',
    950: '#000000',
  },
}
SCSS
$custom: #131854;
$custom-light: #5c5585;
$custom-dark: #000000;
JSON
{
  "hex": "#131854",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 235.385,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25132,
    "c": 0.1072,
    "h": 272.2
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#131854
secondary
#8C8636
accent
#D942E6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131854

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

Preview Lab → · Contrast checker → · Palette generator →

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