#131855#131855

#131855 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.2% C 0.109 H 272.1°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#131855
RGBrgb(19, 24, 85)
HSLhsl(235, 63%, 20%)
HSVhsv(235, 78%, 33%)
CMYKcmyk(77.6%, 71.8%, 0%, 66.7%)
CIE-LABlab(12.27, 21.38, -37.58)
CIE-LCHlch(12.27, 43.24, 299.64°)
OKLaboklab(25.24% 0.0041 -0.1086)
OKLCHoklch(25.24% 0.109 272.1)
XYZxyz(2.2343, 1.4474, 8.7542)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131855 #555013
analogous
#133955 #131855 #2F1355
triadic
#131855 #551318 #185513
tetradic
#131855 #551339 #555013 #13552F
square
#131855 #551339 #555013 #13552F
split-complementary
#131855 #552F13 #395513
monochromatic
#060719 #080A23 #131855 #1E2687 #2934B9

Accessibility & contrast

On white

16.28
#131855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131855
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131855#FFFFFF#000000##FFFFFF
##1318551.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131855;
/* rgb */ color: rgb(19, 24, 85);
/* oklch */ color: oklch(25.2% 0.109 272.1);
Tailwind
colors: {
  custom: {
    50: '#5c5586',
    500: '#131855',
    950: '#000000',
  },
}
SCSS
$custom: #131855;
$custom-light: #5c5586;
$custom-dark: #000000;
JSON
{
  "hex": "#131855",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 235.455,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25239,
    "c": 0.1087,
    "h": 272.1
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#131855
secondary
#8D8736
accent
#DA41E6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131855

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

Preview Lab → · Contrast checker → · Palette generator →

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