#131857#131857

#131857 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.112 H 272.0°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#131857
RGBrgb(19, 24, 87)
HSLhsl(236, 64%, 21%)
HSVhsv(236, 78%, 34%)
CMYKcmyk(78.2%, 72.4%, 0%, 65.9%)
CIE-LABlab(12.48, 22.18, -38.59)
CIE-LCHlch(12.48, 44.52, 299.89°)
OKLaboklab(25.45% 0.0039 -0.1116)
OKLCHoklch(25.45% 0.112 272)
XYZxyz(2.3149, 1.4796, 9.1786)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131857 #575213
analogous
#133A57 #131857 #301357
triadic
#131857 #571318 #185713
tetradic
#131857 #57133A #575213 #135730
square
#131857 #57133A #575213 #135730
split-complementary
#131857 #573013 #3A5713
monochromatic
#050719 #080A25 #131857 #1E2689 #2934BB

Accessibility & contrast

On white

16.20
#131857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#131857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131857
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131857#FFFFFF#000000##FFFFFF
##1318571.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#001D56
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131857;
/* rgb */ color: rgb(19, 24, 87);
/* oklch */ color: oklch(25.5% 0.112 272.0);
Tailwind
colors: {
  custom: {
    50: '#5d5587',
    500: '#131857',
    950: '#000000',
  },
}
SCSS
$custom: #131857;
$custom-light: #5d5587;
$custom-dark: #000000;
JSON
{
  "hex": "#131857",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 235.588,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25454,
    "c": 0.11165,
    "h": 272
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#131857
secondary
#8F8936
accent
#DB41E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131857

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

Preview Lab → · Contrast checker → · Palette generator →

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