#131B45#131B45

#131B45 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.079 H 271.2°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#131B45
RGBrgb(19, 27, 69)
HSLhsl(230, 57%, 17%)
HSVhsv(230, 72%, 27%)
CMYKcmyk(72.5%, 60.9%, 0%, 72.9%)
CIE-LABlab(11.63, 12.53, -27.60)
CIE-LCHlch(11.63, 30.31, 294.41°)
OKLaboklab(24.3% 0.0016 -0.0793)
OKLCHoklch(24.3% 0.079 271.2)
XYZxyz(1.7343, 1.3518, 5.7986)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B45 #453D13
analogous
#133445 #131B45 #241345
triadic
#131B45 #45131B #1B4513
tetradic
#131B45 #451334 #453D13 #134524
square
#131B45 #451334 #453D13 #134524
split-complementary
#131B45 #452413 #344513
monochromatic
#070918 #070918 #131B45 #202E75 #2D41A5

Accessibility & contrast

On white

16.53
#131B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#131B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B45
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B45#FFFFFF#000000##FFFFFF
##131B451.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012146
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#00252C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #131b45;
/* rgb */ color: rgb(19, 27, 69);
/* oklch */ color: oklch(24.3% 0.079 271.2);
Tailwind
colors: {
  custom: {
    50: '#585779',
    500: '#131b45',
    950: '#000000',
  },
}
SCSS
$custom: #131b45;
$custom-light: #585779;
$custom-dark: #000000;
JSON
{
  "hex": "#131b45",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 230.4,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24299,
    "c": 0.07931,
    "h": 271.2
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#131B45
secondary
#7E7236
accent
#C848E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #131B45

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

Preview Lab → · Contrast checker → · Palette generator →

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