#131C4C#131C4C

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

Color values

HEX#131C4C
RGBrgb(19, 28, 76)
HSLhsl(231, 60%, 19%)
HSVhsv(231, 75%, 30%)
CMYKcmyk(75%, 63.2%, 0%, 70.2%)
CIE-LABlab(12.55, 14.71, -30.97)
CIE-LCHlch(12.55, 34.29, 295.40°)
OKLaboklab(25.18% 0.0009 -0.0892)
OKLCHoklch(25.18% 0.089 270.6)
XYZxyz(1.9879, 1.4906, 7.0190)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C4C #4C4313
analogous
#13384C #131C4C #26134C
triadic
#131C4C #4C131C #1C4C13
tetradic
#131C4C #4C1338 #4C4313 #134C26
square
#131C4C #4C1338 #4C4313 #134C26
split-complementary
#131C4C #4C2613 #384C13
monochromatic
#060918 #070A1B #131C4C #1F2E7D #2B40AE

Accessibility & contrast

On white

16.18
#131C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#131C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C4C
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C4C#FFFFFF#000000##FFFFFF
##131C4C1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131c4c;
/* rgb */ color: rgb(19, 28, 76);
/* oklch */ color: oklch(25.2% 0.089 270.6);
Tailwind
colors: {
  custom: {
    50: '#59577e',
    500: '#131c4c',
    950: '#000000',
  },
}
SCSS
$custom: #131c4c;
$custom-light: #59577e;
$custom-dark: #000000;
JSON
{
  "hex": "#131c4c",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 230.526,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25176,
    "c": 0.08919,
    "h": 270.6
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#131C4C
secondary
#857836
accent
#CA45E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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