#131C4E#131C4E

#131C4E is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.092 H 270.6°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#131C4E
RGBrgb(19, 28, 78)
HSLhsl(231, 61%, 19%)
HSVhsv(231, 76%, 31%)
CMYKcmyk(75.6%, 64.1%, 0%, 69.4%)
CIE-LABlab(12.73, 15.55, -32.06)
CIE-LCHlch(12.73, 35.63, 295.87°)
OKLaboklab(25.37% 0.001 -0.0924)
OKLCHoklch(25.37% 0.092 270.6)
XYZxyz(2.0585, 1.5188, 7.3909)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C4E #4E4513
analogous
#133A4E #131C4E #28134E
triadic
#131C4E #4E131C #1C4E13
tetradic
#131C4E #4E133A #4E4513 #134E28
square
#131C4E #4E133A #4E4513 #134E28
split-complementary
#131C4E #4E2813 #3A4E13
monochromatic
#060919 #070A1D #131C4E #1F2E7F #2B3FB0

Accessibility & contrast

On white

16.11
#131C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#131C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C4E
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C4E#FFFFFF#000000##FFFFFF
##131C4E1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131c4e;
/* rgb */ color: rgb(19, 28, 78);
/* oklch */ color: oklch(25.4% 0.092 270.6);
Tailwind
colors: {
  custom: {
    50: '#5a5780',
    500: '#131c4e',
    950: '#000000',
  },
}
SCSS
$custom: #131c4e;
$custom-light: #5a5780;
$custom-dark: #000000;
JSON
{
  "hex": "#131c4e",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 230.847,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25366,
    "c": 0.09238,
    "h": 270.6
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#131C4E
secondary
#877A36
accent
#CC44E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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