#131858#131858

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

Color values

HEX#131858
RGBrgb(19, 24, 88)
HSLhsl(236, 64%, 21%)
HSVhsv(236, 78%, 35%)
CMYKcmyk(78.4%, 72.7%, 0%, 65.5%)
CIE-LABlab(12.58, 22.58, -39.10)
CIE-LCHlch(12.58, 45.15, 300.01°)
OKLaboklab(25.56% 0.0038 -0.113)
OKLCHoklch(25.56% 0.113 271.9)
XYZxyz(2.3560, 1.4961, 9.3952)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131858 #585313
analogous
#133A58 #131858 #301358
triadic
#131858 #581318 #185813
tetradic
#131858 #58133A #585313 #135830
square
#131858 #58133A #585313 #135830
split-complementary
#131858 #583013 #3A5813
monochromatic
#050719 #080A26 #131858 #1E268A #2933BD

Accessibility & contrast

On white

16.16
#131858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131858
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131858#FFFFFF#000000##FFFFFF
##1318581.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131858;
/* rgb */ color: rgb(19, 24, 88);
/* oklch */ color: oklch(25.6% 0.113 271.9);
Tailwind
colors: {
  custom: {
    50: '#5d5588',
    500: '#131858',
    950: '#000000',
  },
}
SCSS
$custom: #131858;
$custom-light: #5d5588;
$custom-dark: #000000;
JSON
{
  "hex": "#131858",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 235.652,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25563,
    "c": 0.11311,
    "h": 271.9
  },
  "luminance": 0.01496
}

Semantic roles & 50–950 ramp

primary
#131858
secondary
#908A37
accent
#DB40E7
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #131858

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

Preview Lab → · Contrast checker → · Palette generator →

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