#131E52#131E52

#131E52 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.096 H 269.5°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#131E52
RGBrgb(19, 30, 82)
HSLhsl(230, 62%, 20%)
HSVhsv(230, 77%, 32%)
CMYKcmyk(76.8%, 63.4%, 0%, 67.8%)
CIE-LABlab(13.69, 15.72, -33.23)
CIE-LCHlch(13.69, 36.76, 295.32°)
OKLaboklab(26.19% -0.0008 -0.0958)
OKLCHoklch(26.19% 0.096 269.5)
XYZxyz(2.2553, 1.6760, 8.1856)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E52 #524713
analogous
#133E52 #131E52 #281352
triadic
#131E52 #52131E #1E5213
tetradic
#131E52 #52133E #524713 #135228
square
#131E52 #52133E #524713 #135228
split-complementary
#131E52 #522813 #3E5213
monochromatic
#060919 #070C20 #131E52 #1F3084 #2A42B5

Accessibility & contrast

On white

15.73
#131E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131E52
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E52#FFFFFF#000000##FFFFFF
##131E521.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#002051
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131e52;
/* rgb */ color: rgb(19, 30, 82);
/* oklch */ color: oklch(26.2% 0.096 269.5);
Tailwind
colors: {
  custom: {
    50: '#5b5983',
    500: '#131e52',
    950: '#000000',
  },
}
SCSS
$custom: #131e52;
$custom-light: #5b5983;
$custom-dark: #000000;
JSON
{
  "hex": "#131e52",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 229.524,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26194,
    "c": 0.09579,
    "h": 269.5
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#131E52
secondary
#8A7C36
accent
#C942E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131E52

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

Preview Lab → · Contrast checker → · Palette generator →

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