#131D45#131D45

#131D45 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.076 H 269.5°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#131D45
RGBrgb(19, 29, 69)
HSLhsl(228, 57%, 17%)
HSVhsv(228, 72%, 27%)
CMYKcmyk(72.5%, 58%, 0%, 72.9%)
CIE-LABlab(12.27, 10.99, -26.58)
CIE-LCHlch(12.27, 28.76, 292.46°)
OKLaboklab(24.78% -0.0006 -0.0763)
OKLCHoklch(24.78% 0.076 269.5)
XYZxyz(1.7817, 1.4467, 5.8144)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D45 #453B13
analogous
#133645 #131D45 #221345
triadic
#131D45 #45131D #1D4513
tetradic
#131D45 #451336 #453B13 #134522
square
#131D45 #451336 #453B13 #134522
split-complementary
#131D45 #452213 #364513
monochromatic
#070A18 #070A18 #131D45 #203175 #2D45A5

Accessibility & contrast

On white

16.29
#131D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#131D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D45
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D45#FFFFFF#000000##FFFFFF
##131D451.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062246
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131d45;
/* rgb */ color: rgb(19, 29, 69);
/* oklch */ color: oklch(24.8% 0.076 269.5);
Tailwind
colors: {
  custom: {
    50: '#575879',
    500: '#131d45',
    950: '#000000',
  },
}
SCSS
$custom: #131d45;
$custom-light: #575879;
$custom-dark: #000000;
JSON
{
  "hex": "#131d45",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 69
  },
  "hsl": {
    "h": 228,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24776,
    "c": 0.07626,
    "h": 269.5
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#131D45
secondary
#7E6F36
accent
#C248E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #131D45

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

Preview Lab → · Contrast checker → · Palette generator →

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