#131C42#131C42

#131C42 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.073 H 270.2°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#131C42
RGBrgb(19, 28, 66)
HSLhsl(229, 55%, 17%)
HSVhsv(229, 71%, 26%)
CMYKcmyk(71.2%, 57.6%, 0%, 74.1%)
CIE-LABlab(11.70, 10.49, -25.39)
CIE-LCHlch(11.70, 27.47, 292.45°)
OKLaboklab(24.27% 0.0002 -0.0728)
OKLCHoklch(24.27% 0.073 270.2)
XYZxyz(1.6668, 1.3622, 5.3283)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C42 #423913
analogous
#133442 #131C42 #221342
triadic
#131C42 #42131C #1C4213
tetradic
#131C42 #421334 #423913 #134222
square
#131C42 #421334 #423913 #134222
split-complementary
#131C42 #422213 #344213
monochromatic
#070A18 #070A18 #131C42 #213072 #2E44A1

Accessibility & contrast

On white

16.50
#131C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#131C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C42
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C42#FFFFFF#000000##FFFFFF
##131C421.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072143
Deuteranopia (green-blind)
#001D41
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #131c42;
/* rgb */ color: rgb(19, 28, 66);
/* oklch */ color: oklch(24.3% 0.073 270.2);
Tailwind
colors: {
  custom: {
    50: '#575777',
    500: '#131c42',
    950: '#000000',
  },
}
SCSS
$custom: #131c42;
$custom-light: #575777;
$custom-dark: #000000;
JSON
{
  "hex": "#131c42",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 228.511,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24274,
    "c": 0.07276,
    "h": 270.2
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#131C42
secondary
#7B6E36
accent
#C249DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131C42

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

Preview Lab → · Contrast checker → · Palette generator →

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