#131D48#131D48

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

Color values

HEX#131D48
RGBrgb(19, 29, 72)
HSLhsl(229, 58%, 18%)
HSVhsv(229, 74%, 28%)
CMYKcmyk(73.6%, 59.7%, 0%, 71.8%)
CIE-LABlab(12.51, 12.26, -28.27)
CIE-LCHlch(12.51, 30.81, 293.44°)
OKLaboklab(25.04% -0.0003 -0.0812)
OKLCHoklch(25.04% 0.081 269.8)
XYZxyz(1.8772, 1.4849, 6.3173)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D48 #483E13
analogous
#133748 #131D48 #231348
triadic
#131D48 #48131D #1D4813
tetradic
#131D48 #481337 #483E13 #134823
square
#131D48 #481337 #483E13 #134823
split-complementary
#131D48 #482313 #374813
monochromatic
#060A18 #060A18 #131D48 #203178 #2D44A9

Accessibility & contrast

On white

16.19
#131D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131D48
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D48#FFFFFF#000000##FFFFFF
##131D481.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02234A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131d48;
/* rgb */ color: rgb(19, 29, 72);
/* oklch */ color: oklch(25.0% 0.081 269.8);
Tailwind
colors: {
  custom: {
    50: '#58587b',
    500: '#131d48',
    950: '#000000',
  },
}
SCSS
$custom: #131d48;
$custom-light: #58587b;
$custom-dark: #000000;
JSON
{
  "hex": "#131d48",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 228.679,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2504,
    "c": 0.08122,
    "h": 269.8
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#131D48
secondary
#817336
accent
#C446E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #131D48

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

Preview Lab → · Contrast checker → · Palette generator →

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