#131F4D#131F4D

#131F4D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.086 H 268.7°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#131F4D
RGBrgb(19, 31, 77)
HSLhsl(228, 60%, 19%)
HSVhsv(228, 75%, 30%)
CMYKcmyk(75.3%, 59.7%, 0%, 69.8%)
CIE-LABlab(13.56, 12.85, -30.03)
CIE-LCHlch(13.56, 32.66, 293.18°)
OKLaboklab(25.96% -0.002 -0.0863)
OKLCHoklch(25.96% 0.086 268.7)
XYZxyz(2.0976, 1.6540, 7.2285)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F4D #4D4113
analogous
#133C4D #131F4D #24134D
triadic
#131F4D #4D131F #1F4D13
tetradic
#131F4D #4D133C #4D4113 #134D24
square
#131F4D #4D133C #4D4113 #134D24
split-complementary
#131F4D #4D2413 #3C4D13
monochromatic
#060A19 #070B1C #131F4D #1F337E #2B47AF

Accessibility & contrast

On white

15.78
#131F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#131F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F4D
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F4D#FFFFFF#000000##FFFFFF
##131F4D1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131f4d;
/* rgb */ color: rgb(19, 31, 77);
/* oklch */ color: oklch(26.0% 0.086 268.7);
Tailwind
colors: {
  custom: {
    50: '#595a7f',
    500: '#131f4d',
    950: '#000000',
  },
}
SCSS
$custom: #131f4d;
$custom-light: #595a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#131f4d",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 227.586,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25959,
    "c": 0.08637,
    "h": 268.7
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#131F4D
secondary
#867536
accent
#C344E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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