#131954#131954

#131954 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.106 H 271.8°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#131954
RGBrgb(19, 25, 84)
HSLhsl(234, 63%, 20%)
HSVhsv(234, 77%, 33%)
CMYKcmyk(77.4%, 70.2%, 0%, 67.1%)
CIE-LABlab(12.44, 20.25, -36.62)
CIE-LCHlch(12.44, 41.85, 298.94°)
OKLaboklab(25.33% 0.0034 -0.1058)
OKLCHoklch(25.33% 0.106 271.8)
XYZxyz(2.2159, 1.4736, 8.5534)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131954 #544E13
analogous
#133954 #131954 #2E1354
triadic
#131954 #541319 #195413
tetradic
#131954 #541339 #544E13 #13542E
square
#131954 #541339 #544E13 #13542E
split-complementary
#131954 #542E13 #395413
monochromatic
#060719 #080A22 #131954 #1E2886 #2A37B8

Accessibility & contrast

On white

16.22
#131954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131954
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131954#FFFFFF#000000##FFFFFF
##1319541.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.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: #131954;
/* rgb */ color: rgb(19, 25, 84);
/* oklch */ color: oklch(25.3% 0.106 271.8);
Tailwind
colors: {
  custom: {
    50: '#5c5585',
    500: '#131954',
    950: '#000000',
  },
}
SCSS
$custom: #131954;
$custom-light: #5c5585;
$custom-dark: #000000;
JSON
{
  "hex": "#131954",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 234.462,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25332,
    "c": 0.10586,
    "h": 271.8
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#131954
secondary
#8C8436
accent
#D742E6
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131954

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

Preview Lab → · Contrast checker → · Palette generator →

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