#131257#131257

#131257 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.119 H 273.7°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#131257
RGBrgb(19, 18, 87)
HSLhsl(241, 66%, 21%)
HSVhsv(241, 79%, 34%)
CMYKcmyk(78.2%, 79.3%, 0%, 65.9%)
CIE-LABlab(10.99, 26.28, -41.05)
CIE-LCHlch(10.99, 48.74, 302.62°)
OKLaboklab(24.38% 0.0078 -0.1187)
OKLCHoklch(24.38% 0.119 273.7)
XYZxyz(2.2046, 1.2590, 9.1418)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131257 #565712
analogous
#123357 #131257 #351257
triadic
#131257 #571312 #125713
tetradic
#131257 #571233 #565712 #125735
square
#131257 #571233 #565712 #125735
split-complementary
#131257 #573512 #335712
monochromatic
#060519 #080824 #131257 #1E1C8A #2927BC

Accessibility & contrast

On white

16.78
#131257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131257
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131257#FFFFFF#000000##FFFFFF
##1312571.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001A56
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131257;
/* rgb */ color: rgb(19, 18, 87);
/* oklch */ color: oklch(24.4% 0.119 273.7);
Tailwind
colors: {
  custom: {
    50: '#5d5087',
    500: '#131257',
    950: '#000000',
  },
}
SCSS
$custom: #131257;
$custom-light: #5d5087;
$custom-dark: #000000;
JSON
{
  "hex": "#131257",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 240.87,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24381,
    "c": 0.11899,
    "h": 273.7
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#131257
secondary
#8E9035
accent
#E93FE6
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #131257

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

Preview Lab → · Contrast checker → · Palette generator →

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