#131B5E#131B5E

#131B5E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.118 H 270.5°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#131B5E
RGBrgb(19, 27, 94)
HSLhsl(234, 66%, 22%)
HSVhsv(234, 80%, 37%)
CMYKcmyk(79.8%, 71.3%, 0%, 63.1%)
CIE-LABlab(14.00, 22.87, -40.80)
CIE-LCHlch(14.00, 46.77, 299.27°)
OKLaboklab(26.79% 0.0011 -0.118)
OKLCHoklch(26.79% 0.118 270.5)
XYZxyz(2.6802, 1.7302, 10.7802)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B5E #5E5613
analogous
#13415E #131B5E #31135E
triadic
#131B5E #5E131B #1B5E13
tetradic
#131B5E #5E1341 #5E5613 #135E31
square
#131B5E #5E1341 #5E5613 #135E31
split-complementary
#131B5E #5E3113 #415E13
monochromatic
#050719 #090C2B #131B5E #1D2A91 #2838C4

Accessibility & contrast

On white

15.60
#131B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#131B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B5E
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B5E#FFFFFF#000000##FFFFFF
##131B5E1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131b5e;
/* rgb */ color: rgb(19, 27, 94);
/* oklch */ color: oklch(26.8% 0.118 270.5);
Tailwind
colors: {
  custom: {
    50: '#5e578c',
    500: '#131b5e',
    950: '#000000',
  },
}
SCSS
$custom: #131b5e;
$custom-light: #5e578c;
$custom-dark: #000000;
JSON
{
  "hex": "#131b5e",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 233.6,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26787,
    "c": 0.11801,
    "h": 270.5
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#131B5E
secondary
#968C37
accent
#D73FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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