#131B54#131B54

#131B54 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.103 H 271.0°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#131B54
RGBrgb(19, 27, 84)
HSLhsl(233, 63%, 20%)
HSVhsv(233, 77%, 33%)
CMYKcmyk(77.4%, 67.9%, 0%, 67.1%)
CIE-LABlab(13.00, 18.79, -35.71)
CIE-LCHlch(13.00, 40.35, 297.75°)
OKLaboklab(25.74% 0.0018 -0.1031)
OKLCHoklch(25.74% 0.103 271)
XYZxyz(2.2602, 1.5622, 8.5682)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B54 #544C13
analogous
#133C54 #131B54 #2B1354
triadic
#131B54 #54131B #1B5413
tetradic
#131B54 #54133C #544C13 #13542B
square
#131B54 #54133C #544C13 #13542B
split-complementary
#131B54 #542B13 #3C5413
monochromatic
#060819 #080B22 #131B54 #1E2B86 #2A3BB8

Accessibility & contrast

On white

16.00
#131B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#131B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B54
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B54#FFFFFF#000000##FFFFFF
##131B541.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131b54;
/* rgb */ color: rgb(19, 27, 84);
/* oklch */ color: oklch(25.7% 0.103 271.0);
Tailwind
colors: {
  custom: {
    50: '#5c5785',
    500: '#131b54',
    950: '#000000',
  },
}
SCSS
$custom: #131b54;
$custom-light: #5c5785;
$custom-dark: #000000;
JSON
{
  "hex": "#131b54",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 232.615,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25742,
    "c": 0.10313,
    "h": 271
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#131B54
secondary
#8C8236
accent
#D242E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131B54

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

Preview Lab → · Contrast checker → · Palette generator →

#131B54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva