#131A5C#131A5C

#131A5C is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.116 H 271.0°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#131A5C
RGBrgb(19, 26, 92)
HSLhsl(234, 66%, 22%)
HSVhsv(234, 79%, 36%)
CMYKcmyk(79.3%, 71.7%, 0%, 63.9%)
CIE-LABlab(13.53, 22.77, -40.23)
CIE-LCHlch(13.53, 46.23, 299.51°)
OKLaboklab(26.38% 0.002 -0.1164)
OKLCHoklch(26.38% 0.116 271)
XYZxyz(2.5691, 1.6497, 10.3062)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A5C #5C5513
analogous
#133F5C #131A5C #31135C
triadic
#131A5C #5C131A #1A5C13
tetradic
#131A5C #5C133F #5C5513 #135C31
square
#131A5C #5C133F #5C5513 #135C31
split-complementary
#131A5C #5C3113 #3F5C13
monochromatic
#050719 #090C29 #131A5C #1D288F #2837C1

Accessibility & contrast

On white

15.79
#131A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#131A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131A5C
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A5C#FFFFFF#000000##FFFFFF
##131A5C1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#001F5B
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131a5c;
/* rgb */ color: rgb(19, 26, 92);
/* oklch */ color: oklch(26.4% 0.116 271.0);
Tailwind
colors: {
  custom: {
    50: '#5e568b',
    500: '#131a5c',
    950: '#000000',
  },
}
SCSS
$custom: #131a5c;
$custom-light: #5e568b;
$custom-dark: #000000;
JSON
{
  "hex": "#131a5c",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 234.247,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26379,
    "c": 0.11639,
    "h": 271
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#131A5C
secondary
#948B37
accent
#D83FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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