#131D4E#131D4E

#131D4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.091 H 270.0°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#131D4E
RGBrgb(19, 29, 78)
HSLhsl(230, 61%, 19%)
HSVhsv(230, 76%, 31%)
CMYKcmyk(75.6%, 62.8%, 0%, 69.4%)
CIE-LABlab(13.03, 14.79, -31.57)
CIE-LCHlch(13.03, 34.86, 295.11°)
OKLaboklab(25.59% 0 -0.0909)
OKLCHoklch(25.59% 0.091 270)
XYZxyz(2.0826, 1.5670, 7.3990)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D4E #4E4413
analogous
#133B4E #131D4E #27134E
triadic
#131D4E #4E131D #1D4E13
tetradic
#131D4E #4E133B #4E4413 #134E27
square
#131D4E #4E133B #4E4413 #134E27
split-complementary
#131D4E #4E2713 #3B4E13
monochromatic
#060919 #070B1D #131D4E #1F2F7F #2B42B0

Accessibility & contrast

On white

15.99
#131D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#131D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D4E
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D4E#FFFFFF#000000##FFFFFF
##131D4E1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131d4e;
/* rgb */ color: rgb(19, 29, 78);
/* oklch */ color: oklch(25.6% 0.091 270.0);
Tailwind
colors: {
  custom: {
    50: '#5a5880',
    500: '#131d4e',
    950: '#000000',
  },
}
SCSS
$custom: #131d4e;
$custom-light: #5a5880;
$custom-dark: #000000;
JSON
{
  "hex": "#131d4e",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 229.831,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25591,
    "c": 0.09092,
    "h": 270
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#131D4E
secondary
#877936
accent
#C944E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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