#131255#131255

#131255 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.116 H 274.0°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#131255
RGBrgb(19, 18, 85)
HSLhsl(241, 65%, 20%)
HSVhsv(241, 79%, 33%)
CMYKcmyk(77.6%, 78.8%, 0%, 66.7%)
CIE-LABlab(10.75, 25.52, -40.07)
CIE-LCHlch(10.75, 47.51, 302.49°)
OKLaboklab(24.15% 0.0081 -0.1159)
OKLCHoklch(24.15% 0.116 274)
XYZxyz(2.1240, 1.2267, 8.7174)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131255 #545512
analogous
#123255 #131255 #351255
triadic
#131255 #551312 #125513
tetradic
#131255 #551232 #545512 #125535
square
#131255 #551232 #545512 #125535
split-complementary
#131255 #553512 #325512
monochromatic
#060519 #080722 #131255 #1E1D88 #2A27BA

Accessibility & contrast

On white

16.86
#131255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#131255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131255
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131255#FFFFFF#000000##FFFFFF
##1312551.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001A54
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131255;
/* rgb */ color: rgb(19, 18, 85);
/* oklch */ color: oklch(24.1% 0.116 274.0);
Tailwind
colors: {
  custom: {
    50: '#5d5086',
    500: '#131255',
    950: '#000000',
  },
}
SCSS
$custom: #131255;
$custom-light: #5d5086;
$custom-dark: #000000;
JSON
{
  "hex": "#131255",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 240.896,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24146,
    "c": 0.11619,
    "h": 274
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#131255
secondary
#8C8E35
accent
#E840E6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #131255

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

Preview Lab → · Contrast checker → · Palette generator →

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