#131E54#131E54

#131E54 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.099 H 269.6°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#131E54
RGBrgb(19, 30, 84)
HSLhsl(230, 63%, 20%)
HSVhsv(230, 77%, 33%)
CMYKcmyk(77.4%, 64.3%, 0%, 67.1%)
CIE-LABlab(13.87, 16.56, -34.29)
CIE-LCHlch(13.87, 38.08, 295.78°)
OKLaboklab(26.39% -0.0008 -0.0989)
OKLCHoklch(26.39% 0.099 269.6)
XYZxyz(2.3325, 1.7069, 8.5923)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E54 #544913
analogous
#133E54 #131E54 #281354
triadic
#131E54 #54131E #1E5413
tetradic
#131E54 #54133E #544913 #135428
square
#131E54 #54133E #544913 #135428
split-complementary
#131E54 #542813 #3E5413
monochromatic
#060919 #080C22 #131E54 #1E3086 #2A42B8

Accessibility & contrast

On white

15.66
#131E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131E54
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E54#FFFFFF#000000##FFFFFF
##131E541.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#002053
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131e54;
/* rgb */ color: rgb(19, 30, 84);
/* oklch */ color: oklch(26.4% 0.099 269.6);
Tailwind
colors: {
  custom: {
    50: '#5b5985',
    500: '#131e54',
    950: '#000000',
  },
}
SCSS
$custom: #131e54;
$custom-light: #5b5985;
$custom-dark: #000000;
JSON
{
  "hex": "#131e54",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 229.846,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26386,
    "c": 0.09891,
    "h": 269.6
  },
  "luminance": 0.01707
}

Semantic roles & 50–950 ramp

primary
#131E54
secondary
#8C7E36
accent
#CA42E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131E54

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

Preview Lab → · Contrast checker → · Palette generator →

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