#131F5C#131F5C

#131F5C is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.110 H 269.1°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#131F5C
RGBrgb(19, 31, 92)
HSLhsl(230, 66%, 22%)
HSVhsv(230, 79%, 36%)
CMYKcmyk(79.3%, 66.3%, 0%, 63.9%)
CIE-LABlab(14.90, 19.16, -37.98)
CIE-LCHlch(14.90, 42.54, 296.77°)
OKLaboklab(27.39% -0.0016 -0.1097)
OKLCHoklch(27.39% 0.11 269.1)
XYZxyz(2.6896, 1.8908, 10.3464)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F5C #5C5013
analogous
#13445C #131F5C #2C135C
triadic
#131F5C #5C131F #1F5C13
tetradic
#131F5C #5C1344 #5C5013 #135C2C
square
#131F5C #5C1344 #5C5013 #135C2C
split-complementary
#131F5C #5C2C13 #445C13
monochromatic
#050919 #090E29 #131F5C #1D308F #2841C1

Accessibility & contrast

On white

15.24
#131F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#131F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F5C
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F5C#FFFFFF#000000##FFFFFF
##131F5C1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#00225B
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131f5c;
/* rgb */ color: rgb(19, 31, 92);
/* oklch */ color: oklch(27.4% 0.110 269.1);
Tailwind
colors: {
  custom: {
    50: '#5d5a8b',
    500: '#131f5c',
    950: '#000000',
  },
}
SCSS
$custom: #131f5c;
$custom-light: #5d5a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#131f5c",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 230.137,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27387,
    "c": 0.10975,
    "h": 269.1
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#131F5C
secondary
#948537
accent
#CD3FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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