#131957#131957

#131957 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.110 H 271.6°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#131957
RGBrgb(19, 25, 87)
HSLhsl(235, 64%, 21%)
HSVhsv(235, 78%, 34%)
CMYKcmyk(78.2%, 71.3%, 0%, 65.9%)
CIE-LABlab(12.74, 21.47, -38.16)
CIE-LCHlch(12.74, 43.78, 299.37°)
OKLaboklab(25.65% 0.0031 -0.1103)
OKLCHoklch(25.65% 0.11 271.6)
XYZxyz(2.3359, 1.5216, 9.1856)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131957 #575113
analogous
#133B57 #131957 #2F1357
triadic
#131957 #571319 #195713
tetradic
#131957 #57133B #575113 #13572F
square
#131957 #57133B #575113 #13572F
split-complementary
#131957 #572F13 #3B5713
monochromatic
#050719 #080B25 #131957 #1E2789 #2936BB

Accessibility & contrast

On white

16.10
#131957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131957
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131957#FFFFFF#000000##FFFFFF
##1319571.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131957;
/* rgb */ color: rgb(19, 25, 87);
/* oklch */ color: oklch(25.6% 0.110 271.6);
Tailwind
colors: {
  custom: {
    50: '#5d5587',
    500: '#131957',
    950: '#000000',
  },
}
SCSS
$custom: #131957;
$custom-light: #5d5587;
$custom-dark: #000000;
JSON
{
  "hex": "#131957",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 234.706,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25649,
    "c": 0.11034,
    "h": 271.6
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#131957
secondary
#8F8736
accent
#D841E7
background
#F5F5F8
surface
#E9E8EF
border
#C5C4CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131957

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

Preview Lab → · Contrast checker → · Palette generator →

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