#131F42#131F42

#131F42 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.068 H 267.2°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#131F42
RGBrgb(19, 31, 66)
HSLhsl(225, 55%, 17%)
HSVhsv(225, 71%, 26%)
CMYKcmyk(71.2%, 53%, 0%, 74.1%)
CIE-LABlab(12.68, 8.19, -23.82)
CIE-LCHlch(12.68, 25.19, 288.98°)
OKLaboklab(25.02% -0.0034 -0.0681)
OKLCHoklch(25.02% 0.068 267.2)
XYZxyz(1.7416, 1.5116, 5.3532)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F42 #423613
analogous
#133742 #131F42 #1F1342
triadic
#131F42 #42131F #1F4213
tetradic
#131F42 #421337 #423613 #13421F
square
#131F42 #421337 #423613 #13421F
split-complementary
#131F42 #421F13 #374213
monochromatic
#070B18 #070B18 #131F42 #213572 #2E4CA1

Accessibility & contrast

On white

16.12
#131F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F42
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F42#FFFFFF#000000##FFFFFF
##131F421.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2343
Deuteranopia (green-blind)
#061F41
Tritanopia (blue-blind)
#00272D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131f42;
/* rgb */ color: rgb(19, 31, 66);
/* oklch */ color: oklch(25.0% 0.068 267.2);
Tailwind
colors: {
  custom: {
    50: '#565a76',
    500: '#131f42',
    950: '#000000',
  },
}
SCSS
$custom: #131f42;
$custom-light: #565a76;
$custom-dark: #000000;
JSON
{
  "hex": "#131f42",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 224.681,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25018,
    "c": 0.06817,
    "h": 267.2
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#131F42
secondary
#7B6936
accent
#B849DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131F42

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

Preview Lab → · Contrast checker → · Palette generator →

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