#131C5E#131C5E

#131C5E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.117 H 270.2°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#131C5E
RGBrgb(19, 28, 94)
HSLhsl(233, 66%, 22%)
HSVhsv(233, 80%, 37%)
CMYKcmyk(79.8%, 70.2%, 0%, 63.1%)
CIE-LABlab(14.27, 22.16, -40.36)
CIE-LCHlch(14.27, 46.04, 298.77°)
OKLaboklab(26.98% 0.0004 -0.1167)
OKLCHoklch(26.98% 0.117 270.2)
XYZxyz(2.7035, 1.7768, 10.7880)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C5E #5E5513
analogous
#13425E #131C5E #30135E
triadic
#131C5E #5E131C #1C5E13
tetradic
#131C5E #5E1342 #5E5513 #135E30
square
#131C5E #5E1342 #5E5513 #135E30
split-complementary
#131C5E #5E3013 #425E13
monochromatic
#050819 #090D2B #131C5E #1D2B91 #283AC4

Accessibility & contrast

On white

15.49
#131C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#131C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C5E
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C5E#FFFFFF#000000##FFFFFF
##131C5E1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131c5e;
/* rgb */ color: rgb(19, 28, 94);
/* oklch */ color: oklch(27.0% 0.117 270.2);
Tailwind
colors: {
  custom: {
    50: '#5e588c',
    500: '#131c5e',
    950: '#000000',
  },
}
SCSS
$custom: #131c5e;
$custom-light: #5e588c;
$custom-dark: #000000;
JSON
{
  "hex": "#131c5e",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 232.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26982,
    "c": 0.11672,
    "h": 270.2
  },
  "luminance": 0.01777
}

Semantic roles & 50–950 ramp

primary
#131C5E
secondary
#968B37
accent
#D53FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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