#131955#131955

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

Color values

HEX#131955
RGBrgb(19, 25, 85)
HSLhsl(235, 63%, 20%)
HSVhsv(235, 78%, 33%)
CMYKcmyk(77.6%, 70.6%, 0%, 66.7%)
CIE-LABlab(12.54, 20.66, -37.14)
CIE-LCHlch(12.54, 42.50, 299.09°)
OKLaboklab(25.44% 0.0033 -0.1073)
OKLCHoklch(25.44% 0.107 271.8)
XYZxyz(2.2553, 1.4894, 8.7612)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131955 #554F13
analogous
#133A55 #131955 #2E1355
triadic
#131955 #551319 #195513
tetradic
#131955 #55133A #554F13 #13552E
square
#131955 #55133A #554F13 #13552E
split-complementary
#131955 #552E13 #3A5513
monochromatic
#060719 #080A23 #131955 #1E2887 #2936B9

Accessibility & contrast

On white

16.18
#131955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131955
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131955#FFFFFF#000000##FFFFFF
##1319551.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131955;
/* rgb */ color: rgb(19, 25, 85);
/* oklch */ color: oklch(25.4% 0.107 271.8);
Tailwind
colors: {
  custom: {
    50: '#5c5586',
    500: '#131955',
    950: '#000000',
  },
}
SCSS
$custom: #131955;
$custom-light: #5c5586;
$custom-dark: #000000;
JSON
{
  "hex": "#131955",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 234.545,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25437,
    "c": 0.10736,
    "h": 271.8
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#131955
secondary
#8D8536
accent
#D741E6
background
#F5F5F8
surface
#E9E8EF
border
#C5C4CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131955

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

Preview Lab → · Contrast checker → · Palette generator →

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