#131F43#131F43

#131F43 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.070 H 267.4°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#131F43
RGBrgb(19, 31, 67)
HSLhsl(225, 56%, 17%)
HSVhsv(225, 72%, 26%)
CMYKcmyk(71.6%, 53.7%, 0%, 73.7%)
CIE-LABlab(12.76, 8.61, -24.40)
CIE-LCHlch(12.76, 25.87, 289.44°)
OKLaboklab(25.1% -0.0032 -0.0698)
OKLCHoklch(25.1% 0.07 267.4)
XYZxyz(1.7713, 1.5235, 5.5098)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F43 #433713
analogous
#133743 #131F43 #1F1343
triadic
#131F43 #43131F #1F4313
tetradic
#131F43 #431337 #433713 #13431F
square
#131F43 #431337 #433713 #13431F
split-complementary
#131F43 #431F13 #374313
monochromatic
#070B18 #070B18 #131F43 #213573 #2E4BA2

Accessibility & contrast

On white

16.09
#131F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F43
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F43#FFFFFF#000000##FFFFFF
##131F431.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2344
Deuteranopia (green-blind)
#051F42
Tritanopia (blue-blind)
#00272D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131f43;
/* rgb */ color: rgb(19, 31, 67);
/* oklch */ color: oklch(25.1% 0.070 267.4);
Tailwind
colors: {
  custom: {
    50: '#575a77',
    500: '#131f43',
    950: '#000000',
  },
}
SCSS
$custom: #131f43;
$custom-light: #575a77;
$custom-dark: #000000;
JSON
{
  "hex": "#131f43",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 67
  },
  "hsl": {
    "h": 225,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25099,
    "c": 0.06986,
    "h": 267.4
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#131F43
secondary
#7C6A36
accent
#BA49DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #131F43

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

Preview Lab → · Contrast checker → · Palette generator →

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