#131B4F#131B4F

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

Color values

HEX#131B4F
RGBrgb(19, 27, 79)
HSLhsl(232, 61%, 19%)
HSVhsv(232, 76%, 31%)
CMYKcmyk(75.9%, 65.8%, 0%, 69%)
CIE-LABlab(12.52, 16.72, -33.07)
CIE-LCHlch(12.52, 37.06, 296.81°)
OKLaboklab(25.24% 0.0019 -0.0954)
OKLCHoklch(25.24% 0.095 271.1)
XYZxyz(2.0713, 1.4866, 7.5734)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B4F #4F4713
analogous
#13394F #131B4F #29134F
triadic
#131B4F #4F131B #1B4F13
tetradic
#131B4F #4F1339 #4F4713 #134F29
square
#131B4F #4F1339 #4F4713 #134F29
split-complementary
#131B4F #4F2913 #394F13
monochromatic
#060819 #070A1E #131B4F #1F2C80 #2B3DB2

Accessibility & contrast

On white

16.19
#131B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B4F
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B4F#FFFFFF#000000##FFFFFF
##131B4F1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131b4f;
/* rgb */ color: rgb(19, 27, 79);
/* oklch */ color: oklch(25.2% 0.095 271.1);
Tailwind
colors: {
  custom: {
    50: '#5a5781',
    500: '#131b4f',
    950: '#000000',
  },
}
SCSS
$custom: #131b4f;
$custom-light: #5a5781;
$custom-dark: #000000;
JSON
{
  "hex": "#131b4f",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 232,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25243,
    "c": 0.0954,
    "h": 271.1
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#131B4F
secondary
#887D36
accent
#CF43E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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