#131E4C#131E4C

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

Color values

HEX#131E4C
RGBrgb(19, 30, 76)
HSLhsl(228, 60%, 19%)
HSVhsv(228, 75%, 30%)
CMYKcmyk(75%, 60.5%, 0%, 70.2%)
CIE-LABlab(13.16, 13.19, -29.98)
CIE-LCHlch(13.16, 32.75, 293.75°)
OKLaboklab(25.64% -0.0011 -0.0862)
OKLCHoklch(25.64% 0.086 269.3)
XYZxyz(2.0369, 1.5886, 7.0354)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E4C #4C4113
analogous
#133A4C #131E4C #24134C
triadic
#131E4C #4C131E #1E4C13
tetradic
#131E4C #4C133A #4C4113 #134C24
square
#131E4C #4C133A #4C4113 #134C24
split-complementary
#131E4C #4C2413 #3A4C13
monochromatic
#060A18 #070B1B #131E4C #1F317D #2B45AE

Accessibility & contrast

On white

15.94
#131E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131E4C
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E4C#FFFFFF#000000##FFFFFF
##131E4C1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254E
Deuteranopia (green-blind)
#001F4B
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131e4c;
/* rgb */ color: rgb(19, 30, 76);
/* oklch */ color: oklch(25.6% 0.086 269.3);
Tailwind
colors: {
  custom: {
    50: '#59597e',
    500: '#131e4c',
    950: '#000000',
  },
}
SCSS
$custom: #131e4c;
$custom-light: #59597e;
$custom-dark: #000000;
JSON
{
  "hex": "#131e4c",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 228.421,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25635,
    "c": 0.08624,
    "h": 269.3
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#131E4C
secondary
#857536
accent
#C545E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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