#131C5C#131C5C

#131C5C is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.114 H 270.3°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#131C5C
RGBrgb(19, 28, 92)
HSLhsl(233, 66%, 22%)
HSVhsv(233, 79%, 36%)
CMYKcmyk(79.3%, 69.6%, 0%, 63.9%)
CIE-LABlab(14.07, 21.34, -39.35)
CIE-LCHlch(14.07, 44.77, 298.47°)
OKLaboklab(26.77% 0.0006 -0.1138)
OKLCHoklch(26.77% 0.114 270.3)
XYZxyz(2.6149, 1.7414, 10.3214)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C5C #5C5313
analogous
#13415C #131C5C #2F135C
triadic
#131C5C #5C131C #1C5C13
tetradic
#131C5C #5C1341 #5C5313 #135C2F
square
#131C5C #5C1341 #5C5313 #135C2F
split-complementary
#131C5C #5C2F13 #415C13
monochromatic
#050819 #090D29 #131C5C #1D2B8F #283BC1

Accessibility & contrast

On white

15.57
#131C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#131C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C5C
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C5C#FFFFFF#000000##FFFFFF
##131C5C1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131c5c;
/* rgb */ color: rgb(19, 28, 92);
/* oklch */ color: oklch(26.8% 0.114 270.3);
Tailwind
colors: {
  custom: {
    50: '#5e588b',
    500: '#131c5c',
    950: '#000000',
  },
}
SCSS
$custom: #131c5c;
$custom-light: #5e588b;
$custom-dark: #000000;
JSON
{
  "hex": "#131c5c",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 92
  },
  "hsl": {
    "h": 232.603,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26771,
    "c": 0.11378,
    "h": 270.3
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#131C5C
secondary
#948937
accent
#D43FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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