#131F59#131F59

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

Color values

HEX#131F59
RGBrgb(19, 31, 89)
HSLhsl(230, 65%, 21%)
HSVhsv(230, 79%, 35%)
CMYKcmyk(78.7%, 65.2%, 0%, 65.1%)
CIE-LABlab(14.62, 17.91, -36.44)
CIE-LCHlch(14.62, 40.60, 296.18°)
OKLaboklab(27.09% -0.0016 -0.1052)
OKLCHoklch(27.09% 0.105 269.1)
XYZxyz(2.5611, 1.8394, 9.6693)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F59 #594D13
analogous
#134259 #131F59 #2A1359
triadic
#131F59 #59131F #1F5913
tetradic
#131F59 #591342 #594D13 #13592A
square
#131F59 #591342 #594D13 #13592A
split-complementary
#131F59 #592A13 #425913
monochromatic
#050919 #080D27 #131F59 #1E318B #2942BE

Accessibility & contrast

On white

15.35
#131F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#131F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F59
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F59#FFFFFF#000000##FFFFFF
##131F591.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131f59;
/* rgb */ color: rgb(19, 31, 89);
/* oklch */ color: oklch(27.1% 0.105 269.1);
Tailwind
colors: {
  custom: {
    50: '#5d5a88',
    500: '#131f59',
    950: '#000000',
  },
}
SCSS
$custom: #131f59;
$custom-light: #5d5a88;
$custom-dark: #000000;
JSON
{
  "hex": "#131f59",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 229.714,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2709,
    "c": 0.1052,
    "h": 269.1
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#131F59
secondary
#918237
accent
#CB40E8
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #131F59

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

Preview Lab → · Contrast checker → · Palette generator →

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