#131D52#131D52

#131D52 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.097 H 270.1°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#131D52
RGBrgb(19, 29, 82)
HSLhsl(230, 62%, 20%)
HSVhsv(230, 77%, 32%)
CMYKcmyk(76.8%, 64.6%, 0%, 67.8%)
CIE-LABlab(13.39, 16.47, -33.71)
CIE-LCHlch(13.39, 37.52, 296.04°)
OKLaboklab(25.97% 0.0001 -0.0972)
OKLCHoklch(25.97% 0.097 270.1)
XYZxyz(2.2304, 1.6262, 8.1773)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D52 #524813
analogous
#133D52 #131D52 #281352
triadic
#131D52 #52131D #1D5213
tetradic
#131D52 #52133D #524813 #135228
square
#131D52 #52133D #524813 #135228
split-complementary
#131D52 #522813 #3D5213
monochromatic
#060919 #070B20 #131D52 #1F2F84 #2A40B5

Accessibility & contrast

On white

15.85
#131D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#131D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D52
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D52#FFFFFF#000000##FFFFFF
##131D521.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#002051
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131d52;
/* rgb */ color: rgb(19, 29, 82);
/* oklch */ color: oklch(26.0% 0.097 270.1);
Tailwind
colors: {
  custom: {
    50: '#5b5883',
    500: '#131d52',
    950: '#000000',
  },
}
SCSS
$custom: #131d52;
$custom-light: #5b5883;
$custom-dark: #000000;
JSON
{
  "hex": "#131d52",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 230.476,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25973,
    "c": 0.09722,
    "h": 270.1
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#131D52
secondary
#8A7D36
accent
#CC42E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131D52

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

Preview Lab → · Contrast checker → · Palette generator →

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