#131F57#131F57

#131F57 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.102 H 269.1°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#131F57
RGBrgb(19, 31, 87)
HSLhsl(229, 64%, 21%)
HSVhsv(229, 78%, 34%)
CMYKcmyk(78.2%, 64.4%, 0%, 65.9%)
CIE-LABlab(14.44, 17.08, -35.39)
CIE-LCHlch(14.44, 39.30, 295.76°)
OKLaboklab(26.9% -0.0016 -0.1021)
OKLCHoklch(26.9% 0.102 269.1)
XYZxyz(2.4783, 1.8063, 9.2330)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F57 #574B13
analogous
#134157 #131F57 #291357
triadic
#131F57 #57131F #1F5713
tetradic
#131F57 #571341 #574B13 #135729
square
#131F57 #571341 #574B13 #135729
split-complementary
#131F57 #572913 #415713
monochromatic
#050919 #080D25 #131F57 #1E3189 #2943BB

Accessibility & contrast

On white

15.43
#131F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#131F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F57
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F57#FFFFFF#000000##FFFFFF
##131F571.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#002156
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131f57;
/* rgb */ color: rgb(19, 31, 87);
/* oklch */ color: oklch(26.9% 0.102 269.1);
Tailwind
colors: {
  custom: {
    50: '#5c5a87',
    500: '#131f57',
    950: '#000000',
  },
}
SCSS
$custom: #131f57;
$custom-light: #5c5a87;
$custom-dark: #000000;
JSON
{
  "hex": "#131f57",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 229.412,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26895,
    "c": 0.10214,
    "h": 269.1
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#131F57
secondary
#8F8036
accent
#CA41E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131F57

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

Preview Lab → · Contrast checker → · Palette generator →

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