#131F45#131F45

#131F45 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.073 H 267.7°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#131F45
RGBrgb(19, 31, 69)
HSLhsl(226, 57%, 17%)
HSVhsv(226, 72%, 27%)
CMYKcmyk(72.5%, 55.1%, 0%, 72.9%)
CIE-LABlab(12.91, 9.46, -25.54)
CIE-LCHlch(12.91, 27.24, 290.32°)
OKLaboklab(25.26% -0.0029 -0.0732)
OKLCHoklch(25.26% 0.073 267.7)
XYZxyz(1.8324, 1.5479, 5.8313)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F45 #453913
analogous
#133845 #131F45 #201345
triadic
#131F45 #45131F #1F4513
tetradic
#131F45 #451338 #453913 #134520
square
#131F45 #451338 #453913 #134520
split-complementary
#131F45 #452013 #384513
monochromatic
#070B18 #070B18 #131F45 #203575 #2D4AA5

Accessibility & contrast

On white

16.04
#131F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F45
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F45#FFFFFF#000000##FFFFFF
##131F451.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2446
Deuteranopia (green-blind)
#021F44
Tritanopia (blue-blind)
#00282E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131f45;
/* rgb */ color: rgb(19, 31, 69);
/* oklch */ color: oklch(25.3% 0.073 267.7);
Tailwind
colors: {
  custom: {
    50: '#575a79',
    500: '#131f45',
    950: '#000000',
  },
}
SCSS
$custom: #131f45;
$custom-light: #575a79;
$custom-dark: #000000;
JSON
{
  "hex": "#131f45",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 225.6,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25264,
    "c": 0.07323,
    "h": 267.7
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#131F45
secondary
#7E6C36
accent
#BC48E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #131F45

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

Preview Lab → · Contrast checker → · Palette generator →

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