#131F46#131F46

#131F46 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.075 H 267.9°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#131F46
RGBrgb(19, 31, 70)
HSLhsl(226, 57%, 17%)
HSVhsv(226, 73%, 27%)
CMYKcmyk(72.9%, 55.7%, 0%, 72.5%)
CIE-LABlab(12.99, 9.88, -26.11)
CIE-LCHlch(12.99, 27.92, 290.73°)
OKLaboklab(25.35% -0.0028 -0.0748)
OKLCHoklch(25.35% 0.075 267.9)
XYZxyz(1.8637, 1.5604, 5.9961)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F46 #463A13
analogous
#133946 #131F46 #201346
triadic
#131F46 #46131F #1F4613
tetradic
#131F46 #461339 #463A13 #134620
square
#131F46 #461339 #463A13 #134620
split-complementary
#131F46 #462013 #394613
monochromatic
#070B18 #070B18 #131F46 #203476 #2D4AA6

Accessibility & contrast

On white

16.00
#131F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F46
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F46#FFFFFF#000000##FFFFFF
##131F461.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092447
Deuteranopia (green-blind)
#011F45
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131f46;
/* rgb */ color: rgb(19, 31, 70);
/* oklch */ color: oklch(25.3% 0.075 267.9);
Tailwind
colors: {
  custom: {
    50: '#575a7a',
    500: '#131f46',
    950: '#000000',
  },
}
SCSS
$custom: #131f46;
$custom-light: #575a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#131f46",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 70
  },
  "hsl": {
    "h": 225.882,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25348,
    "c": 0.07489,
    "h": 267.9
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#131F46
secondary
#7F6E36
accent
#BC47E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #131F46

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

Preview Lab → · Contrast checker → · Palette generator →

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