#131C5F#131C5F

#131C5F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.118 H 270.2°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#131C5F
RGBrgb(19, 28, 95)
HSLhsl(233, 67%, 22%)
HSVhsv(233, 80%, 37%)
CMYKcmyk(80%, 70.5%, 0%, 62.7%)
CIE-LABlab(14.37, 22.56, -40.86)
CIE-LCHlch(14.37, 46.67, 298.91°)
OKLaboklab(27.09% 0.0004 -0.1182)
OKLCHoklch(27.09% 0.118 270.2)
XYZxyz(2.7487, 1.7949, 11.0258)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C5F #5F5613
analogous
#13425F #131C5F #30135F
triadic
#131C5F #5F131C #1C5F13
tetradic
#131C5F #5F1342 #5F5613 #135F30
square
#131C5F #5F1342 #5F5613 #135F30
split-complementary
#131C5F #5F3013 #425F13
monochromatic
#05081A #090D2C #131C5F #1D2B92 #273AC5

Accessibility & contrast

On white

15.45
#131C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131C5F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C5F#FFFFFF#000000##FFFFFF
##131C5F1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00215E
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131c5f;
/* rgb */ color: rgb(19, 28, 95);
/* oklch */ color: oklch(27.1% 0.118 270.2);
Tailwind
colors: {
  custom: {
    50: '#5f588d',
    500: '#131c5f',
    950: '#000000',
  },
}
SCSS
$custom: #131c5f;
$custom-light: #5f588d;
$custom-dark: #000000;
JSON
{
  "hex": "#131c5f",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 232.895,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27088,
    "c": 0.11818,
    "h": 270.2
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#131C5F
secondary
#978C37
accent
#D53EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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