#131B4D#131B4D

#131B4D is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.092 H 271.2°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#131B4D
RGBrgb(19, 27, 77)
HSLhsl(232, 60%, 19%)
HSVhsv(232, 75%, 30%)
CMYKcmyk(75.3%, 64.9%, 0%, 69.8%)
CIE-LABlab(12.34, 15.88, -32.00)
CIE-LCHlch(12.34, 35.73, 296.40°)
OKLaboklab(25.05% 0.0019 -0.0922)
OKLCHoklch(25.05% 0.092 271.2)
XYZxyz(1.9996, 1.4579, 7.1958)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B4D #4D4513
analogous
#13384D #131B4D #28134D
triadic
#131B4D #4D131B #1B4D13
tetradic
#131B4D #4D1338 #4D4513 #134D28
square
#131B4D #4D1338 #4D4513 #134D28
split-complementary
#131B4D #4D2813 #384D13
monochromatic
#060919 #070A1C #131B4D #1F2C7E #2B3DAF

Accessibility & contrast

On white

16.26
#131B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#131B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B4D
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B4D#FFFFFF#000000##FFFFFF
##131B4D1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#001E4C
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131b4d;
/* rgb */ color: rgb(19, 27, 77);
/* oklch */ color: oklch(25.0% 0.092 271.2);
Tailwind
colors: {
  custom: {
    50: '#5a577f',
    500: '#131b4d',
    950: '#000000',
  },
}
SCSS
$custom: #131b4d;
$custom-light: #5a577f;
$custom-dark: #000000;
JSON
{
  "hex": "#131b4d",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 231.724,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25048,
    "c": 0.09225,
    "h": 271.2
  },
  "luminance": 0.01458
}

Semantic roles & 50–950 ramp

primary
#131B4D
secondary
#867B36
accent
#CE44E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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