#131C57#131C57

#131C57 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.106 H 270.5°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#131C57
RGBrgb(19, 28, 87)
HSLhsl(232, 64%, 21%)
HSVhsv(232, 78%, 34%)
CMYKcmyk(78.2%, 67.8%, 0%, 65.9%)
CIE-LABlab(13.57, 19.29, -36.80)
CIE-LCHlch(13.57, 41.55, 297.67°)
OKLaboklab(26.26% 0.0009 -0.1063)
OKLCHoklch(26.26% 0.106 270.5)
XYZxyz(2.4035, 1.6568, 9.2081)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C57 #574E13
analogous
#133E57 #131C57 #2C1357
triadic
#131C57 #57131C #1C5713
tetradic
#131C57 #57133E #574E13 #13572C
square
#131C57 #57133E #574E13 #13572C
split-complementary
#131C57 #572C13 #3E5713
monochromatic
#050819 #080C25 #131C57 #1E2C89 #293CBB

Accessibility & contrast

On white

15.77
#131C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#131C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C57
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C57#FFFFFF#000000##FFFFFF
##131C571.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131c57;
/* rgb */ color: rgb(19, 28, 87);
/* oklch */ color: oklch(26.3% 0.106 270.5);
Tailwind
colors: {
  custom: {
    50: '#5c5887',
    500: '#131c57',
    950: '#000000',
  },
}
SCSS
$custom: #131c57;
$custom-light: #5c5887;
$custom-dark: #000000;
JSON
{
  "hex": "#131c57",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 87
  },
  "hsl": {
    "h": 232.059,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26256,
    "c": 0.1063,
    "h": 270.5
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#131C57
secondary
#8F8436
accent
#D141E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131C57

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

Preview Lab → · Contrast checker → · Palette generator →

#131C57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva