#131758#131758

#131758 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.114 H 272.2°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#131758
RGBrgb(19, 23, 88)
HSLhsl(237, 64%, 21%)
HSVhsv(237, 78%, 35%)
CMYKcmyk(78.4%, 73.9%, 0%, 65.5%)
CIE-LABlab(12.32, 23.29, -39.52)
CIE-LCHlch(12.32, 45.87, 300.50°)
OKLaboklab(25.37% 0.0044 -0.1143)
OKLCHoklch(25.37% 0.114 272.2)
XYZxyz(2.3358, 1.4556, 9.3885)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131758 #585413
analogous
#133958 #131758 #311358
triadic
#131758 #581317 #175813
tetradic
#131758 #581339 #585413 #135831
square
#131758 #581339 #585413 #135831
split-complementary
#131758 #583113 #395813
monochromatic
#050719 #080A26 #131758 #1E248A #2931BD

Accessibility & contrast

On white

16.26
#131758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131758
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131758#FFFFFF#000000##FFFFFF
##1317581.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001D57
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131758;
/* rgb */ color: rgb(19, 23, 88);
/* oklch */ color: oklch(25.4% 0.114 272.2);
Tailwind
colors: {
  custom: {
    50: '#5d5488',
    500: '#131758',
    950: '#000000',
  },
}
SCSS
$custom: #131758;
$custom-light: #5d5488;
$custom-dark: #000000;
JSON
{
  "hex": "#131758",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 236.522,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25374,
    "c": 0.11439,
    "h": 272.2
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#131758
secondary
#908B37
accent
#DE40E7
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #131758

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

Preview Lab → · Contrast checker → · Palette generator →

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