#131F58#131F58

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

Color values

HEX#131F58
RGBrgb(19, 31, 88)
HSLhsl(230, 64%, 21%)
HSVhsv(230, 78%, 35%)
CMYKcmyk(78.4%, 64.8%, 0%, 65.5%)
CIE-LABlab(14.53, 17.50, -35.91)
CIE-LCHlch(14.53, 39.95, 295.97°)
OKLaboklab(26.99% -0.0016 -0.1037)
OKLCHoklch(26.99% 0.104 269.1)
XYZxyz(2.5194, 1.8227, 9.4497)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F58 #584C13
analogous
#134158 #131F58 #291358
triadic
#131F58 #58131F #1F5813
tetradic
#131F58 #581341 #584C13 #135829
square
#131F58 #581341 #584C13 #135829
split-complementary
#131F58 #582913 #415813
monochromatic
#050919 #080D26 #131F58 #1E318A #2942BD

Accessibility & contrast

On white

15.39
#131F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F58
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F58#FFFFFF#000000##FFFFFF
##131F581.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#002257
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131f58;
/* rgb */ color: rgb(19, 31, 88);
/* oklch */ color: oklch(27.0% 0.104 269.1);
Tailwind
colors: {
  custom: {
    50: '#5c5a88',
    500: '#131f58',
    950: '#000000',
  },
}
SCSS
$custom: #131f58;
$custom-light: #5c5a88;
$custom-dark: #000000;
JSON
{
  "hex": "#131f58",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 229.565,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26992,
    "c": 0.10367,
    "h": 269.1
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#131F58
secondary
#908137
accent
#CA40E7
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #131F58

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

Preview Lab → · Contrast checker → · Palette generator →

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