#131258#131258

#131258 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.5% C 0.120 H 273.6°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#131258
RGBrgb(19, 18, 88)
HSLhsl(241, 66%, 21%)
HSVhsv(241, 80%, 35%)
CMYKcmyk(78.4%, 79.5%, 0%, 65.5%)
CIE-LABlab(11.10, 26.65, -41.53)
CIE-LCHlch(11.10, 49.35, 302.69°)
OKLaboklab(24.5% 0.0076 -0.1201)
OKLCHoklch(24.5% 0.12 273.6)
XYZxyz(2.2457, 1.2754, 9.3585)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131258 #575812
analogous
#123458 #131258 #361258
triadic
#131258 #581312 #125813
tetradic
#131258 #581234 #575812 #125836
square
#131258 #581234 #575812 #125836
split-complementary
#131258 #583612 #345812
monochromatic
#050519 #080825 #131258 #1E1C8B #2927BE

Accessibility & contrast

On white

16.73
#131258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#131258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131258
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131258#FFFFFF#000000##FFFFFF
##1312581.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001A57
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #131258;
/* rgb */ color: rgb(19, 18, 88);
/* oklch */ color: oklch(24.5% 0.120 273.6);
Tailwind
colors: {
  custom: {
    50: '#5e5188',
    500: '#131258',
    950: '#000000',
  },
}
SCSS
$custom: #131258;
$custom-light: #5e5188;
$custom-dark: #000000;
JSON
{
  "hex": "#131258",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 240.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24499,
    "c": 0.12039,
    "h": 273.6
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#131258
secondary
#8F9135
accent
#E93FE7
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #131258

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

Preview Lab → · Contrast checker → · Palette generator →

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