#131E51#131E51

#131E51 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.094 H 269.5°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#131E51
RGBrgb(19, 30, 81)
HSLhsl(229, 62%, 20%)
HSVhsv(229, 77%, 32%)
CMYKcmyk(76.5%, 63%, 0%, 68.2%)
CIE-LABlab(13.60, 15.30, -32.69)
CIE-LCHlch(13.60, 36.10, 295.08°)
OKLaboklab(26.1% -0.0008 -0.0942)
OKLCHoklch(26.1% 0.094 269.5)
XYZxyz(2.2175, 1.6609, 7.9867)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E51 #514613
analogous
#133D51 #131E51 #271351
triadic
#131E51 #51131E #1E5113
tetradic
#131E51 #51133D #514613 #135127
square
#131E51 #51133D #514613 #135127
split-complementary
#131E51 #512713 #3D5113
monochromatic
#060919 #070C1F #131E51 #1F3083 #2A43B4

Accessibility & contrast

On white

15.76
#131E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131E51
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E51#FFFFFF#000000##FFFFFF
##131E511.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#002050
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131e51;
/* rgb */ color: rgb(19, 30, 81);
/* oklch */ color: oklch(26.1% 0.094 269.5);
Tailwind
colors: {
  custom: {
    50: '#5a5982',
    500: '#131e51',
    950: '#000000',
  },
}
SCSS
$custom: #131e51;
$custom-light: #5a5982;
$custom-dark: #000000;
JSON
{
  "hex": "#131e51",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 229.355,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26099,
    "c": 0.09422,
    "h": 269.5
  },
  "luminance": 0.01661
}

Semantic roles & 50–950 ramp

primary
#131E51
secondary
#8A7B36
accent
#C843E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #131E51

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

Preview Lab → · Contrast checker → · Palette generator →

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