#131757#131757

#131757 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.3% C 0.113 H 272.3°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#131757
RGBrgb(19, 23, 87)
HSLhsl(236, 64%, 21%)
HSVhsv(236, 78%, 34%)
CMYKcmyk(78.2%, 73.6%, 0%, 65.9%)
CIE-LABlab(12.22, 22.89, -39.02)
CIE-LCHlch(12.22, 45.24, 300.40°)
OKLaboklab(25.26% 0.0046 -0.1128)
OKLCHoklch(25.26% 0.113 272.3)
XYZxyz(2.2947, 1.4391, 9.1718)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131757 #575313
analogous
#133957 #131757 #311357
triadic
#131757 #571317 #175713
tetradic
#131757 #571339 #575313 #135731
square
#131757 #571339 #575313 #135731
split-complementary
#131757 #573113 #395713
monochromatic
#050719 #080A25 #131757 #1E2489 #2932BB

Accessibility & contrast

On white

16.31
#131757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131757
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131757#FFFFFF#000000##FFFFFF
##1317571.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131757;
/* rgb */ color: rgb(19, 23, 87);
/* oklch */ color: oklch(25.3% 0.113 272.3);
Tailwind
colors: {
  custom: {
    50: '#5d5487',
    500: '#131757',
    950: '#000000',
  },
}
SCSS
$custom: #131757;
$custom-light: #5d5487;
$custom-dark: #000000;
JSON
{
  "hex": "#131757",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 236.471,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25264,
    "c": 0.11293,
    "h": 272.3
  },
  "luminance": 0.01439
}

Semantic roles & 50–950 ramp

primary
#131757
secondary
#8F8A36
accent
#DD41E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #131757

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

Preview Lab → · Contrast checker → · Palette generator →

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