#131B57#131B57

#131B57 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.108 H 270.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#131B57
RGBrgb(19, 27, 87)
HSLhsl(233, 64%, 21%)
HSVhsv(233, 78%, 34%)
CMYKcmyk(78.2%, 69%, 0%, 65.9%)
CIE-LABlab(13.29, 20.02, -37.26)
CIE-LCHlch(13.29, 42.30, 298.25°)
OKLaboklab(26.05% 0.0016 -0.1076)
OKLCHoklch(26.05% 0.108 270.9)
XYZxyz(2.3802, 1.6102, 9.2003)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B57 #574F13
analogous
#133D57 #131B57 #2D1357
triadic
#131B57 #57131B #1B5713
tetradic
#131B57 #57133D #574F13 #13572D
square
#131B57 #57133D #574F13 #13572D
split-complementary
#131B57 #572D13 #3D5713
monochromatic
#050819 #080B25 #131B57 #1E2B89 #293ABB

Accessibility & contrast

On white

15.89
#131B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#131B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B57
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B57#FFFFFF#000000##FFFFFF
##131B571.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#001F56
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131b57;
/* rgb */ color: rgb(19, 27, 87);
/* oklch */ color: oklch(26.0% 0.108 270.9);
Tailwind
colors: {
  custom: {
    50: '#5c5787',
    500: '#131b57',
    950: '#000000',
  },
}
SCSS
$custom: #131b57;
$custom-light: #5c5787;
$custom-dark: #000000;
JSON
{
  "hex": "#131b57",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 232.941,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26049,
    "c": 0.10766,
    "h": 270.9
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#131B57
secondary
#8F8536
accent
#D441E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131B57

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

Preview Lab → · Contrast checker → · Palette generator →

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