#131B4E#131B4E

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

Color values

HEX#131B4E
RGBrgb(19, 27, 78)
HSLhsl(232, 61%, 19%)
HSVhsv(232, 76%, 31%)
CMYKcmyk(75.6%, 65.4%, 0%, 69.4%)
CIE-LABlab(12.43, 16.30, -32.54)
CIE-LCHlch(12.43, 36.39, 296.61°)
OKLaboklab(25.15% 0.0019 -0.0938)
OKLCHoklch(25.15% 0.094 271.2)
XYZxyz(2.0352, 1.4722, 7.3832)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B4E #4E4613
analogous
#13394E #131B4E #29134E
triadic
#131B4E #4E131B #1B4E13
tetradic
#131B4E #4E1339 #4E4613 #134E29
square
#131B4E #4E1339 #4E4613 #134E29
split-complementary
#131B4E #4E2913 #394E13
monochromatic
#060919 #070A1D #131B4E #1F2C7F #2B3DB0

Accessibility & contrast

On white

16.22
#131B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B4E
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B4E#FFFFFF#000000##FFFFFF
##131B4E1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131b4e;
/* rgb */ color: rgb(19, 27, 78);
/* oklch */ color: oklch(25.1% 0.094 271.2);
Tailwind
colors: {
  custom: {
    50: '#5a5780',
    500: '#131b4e',
    950: '#000000',
  },
}
SCSS
$custom: #131b4e;
$custom-light: #5a5780;
$custom-dark: #000000;
JSON
{
  "hex": "#131b4e",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 231.864,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25145,
    "c": 0.09383,
    "h": 271.2
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#131B4E
secondary
#877C36
accent
#CE44E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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