#131958#131958

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

Color values

HEX#131958
RGBrgb(19, 25, 88)
HSLhsl(235, 64%, 21%)
HSVhsv(235, 78%, 35%)
CMYKcmyk(78.4%, 71.6%, 0%, 65.5%)
CIE-LABlab(12.85, 21.87, -38.66)
CIE-LCHlch(12.85, 44.42, 299.50°)
OKLaboklab(25.76% 0.0031 -0.1118)
OKLCHoklch(25.76% 0.112 271.6)
XYZxyz(2.3770, 1.5380, 9.4022)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131958 #585213
analogous
#133B58 #131958 #2F1358
triadic
#131958 #581319 #195813
tetradic
#131958 #58133B #585213 #13582F
square
#131958 #58133B #585213 #13582F
split-complementary
#131958 #582F13 #3B5813
monochromatic
#050719 #080B26 #131958 #1E278A #2936BD

Accessibility & contrast

On white

16.06
#131958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#131958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131958
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131958#FFFFFF#000000##FFFFFF
##1319581.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131958;
/* rgb */ color: rgb(19, 25, 88);
/* oklch */ color: oklch(25.8% 0.112 271.6);
Tailwind
colors: {
  custom: {
    50: '#5d5588',
    500: '#131958',
    950: '#000000',
  },
}
SCSS
$custom: #131958;
$custom-light: #5d5588;
$custom-dark: #000000;
JSON
{
  "hex": "#131958",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 234.783,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25756,
    "c": 0.11182,
    "h": 271.6
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#131958
secondary
#908837
accent
#D940E7
background
#F5F5F8
surface
#E9E8F0
border
#C5C4CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #131958

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

Preview Lab → · Contrast checker → · Palette generator →

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