#131A5E#131A5E

#131A5E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.119 H 270.9°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#131A5E
RGBrgb(19, 26, 94)
HSLhsl(234, 66%, 22%)
HSVhsv(234, 80%, 37%)
CMYKcmyk(79.8%, 72.3%, 0%, 63.1%)
CIE-LABlab(13.74, 23.57, -41.23)
CIE-LCHlch(13.74, 47.49, 299.76°)
OKLaboklab(26.6% 0.0018 -0.1193)
OKLCHoklch(26.6% 0.119 270.9)
XYZxyz(2.6576, 1.6851, 10.7727)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A5E #5E5713
analogous
#13405E #131A5E #32135E
triadic
#131A5E #5E131A #1A5E13
tetradic
#131A5E #5E1340 #5E5713 #135E32
square
#131A5E #5E1340 #5E5713 #135E32
split-complementary
#131A5E #5E3213 #405E13
monochromatic
#050719 #090C2B #131A5E #1D2891 #2836C4

Accessibility & contrast

On white

15.71
#131A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131A5E
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A5E#FFFFFF#000000##FFFFFF
##131A5E1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131a5e;
/* rgb */ color: rgb(19, 26, 94);
/* oklch */ color: oklch(26.6% 0.119 270.9);
Tailwind
colors: {
  custom: {
    50: '#5f568c',
    500: '#131a5e',
    950: '#000000',
  },
}
SCSS
$custom: #131a5e;
$custom-light: #5f568c;
$custom-dark: #000000;
JSON
{
  "hex": "#131a5e",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 234.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26596,
    "c": 0.11928,
    "h": 270.9
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#131A5E
secondary
#968D37
accent
#D93FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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