#131C4F#131C4F

#131C4F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.094 H 270.6°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#131C4F
RGBrgb(19, 28, 79)
HSLhsl(231, 61%, 19%)
HSVhsv(231, 76%, 31%)
CMYKcmyk(75.9%, 64.6%, 0%, 69%)
CIE-LABlab(12.82, 15.97, -32.59)
CIE-LCHlch(12.82, 36.29, 296.10°)
OKLaboklab(25.46% 0.001 -0.094)
OKLCHoklch(25.46% 0.094 270.6)
XYZxyz(2.0946, 1.5333, 7.5812)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C4F #4F4613
analogous
#133A4F #131C4F #28134F
triadic
#131C4F #4F131C #1C4F13
tetradic
#131C4F #4F133A #4F4613 #134F28
square
#131C4F #4F133A #4F4613 #134F28
split-complementary
#131C4F #4F2813 #3A4F13
monochromatic
#060919 #070B1E #131C4F #1F2D80 #2B3FB2

Accessibility & contrast

On white

16.07
#131C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#131C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C4F
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C4F#FFFFFF#000000##FFFFFF
##131C4F1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131c4f;
/* rgb */ color: rgb(19, 28, 79);
/* oklch */ color: oklch(25.5% 0.094 270.6);
Tailwind
colors: {
  custom: {
    50: '#5a5781',
    500: '#131c4f',
    950: '#000000',
  },
}
SCSS
$custom: #131c4f;
$custom-light: #5a5781;
$custom-dark: #000000;
JSON
{
  "hex": "#131c4f",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 231,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25462,
    "c": 0.09396,
    "h": 270.6
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#131C4F
secondary
#887B36
accent
#CC43E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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