#131C58#131C58

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

Color values

HEX#131C58
RGBrgb(19, 28, 88)
HSLhsl(232, 64%, 21%)
HSVhsv(232, 78%, 35%)
CMYKcmyk(78.4%, 68.2%, 0%, 65.5%)
CIE-LABlab(13.67, 19.71, -37.32)
CIE-LCHlch(13.67, 42.20, 297.84°)
OKLaboklab(26.36% 0.0008 -0.1078)
OKLCHoklch(26.36% 0.108 270.4)
XYZxyz(2.4447, 1.6733, 9.4248)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C58 #584F13
analogous
#133E58 #131C58 #2C1358
triadic
#131C58 #58131C #1C5813
tetradic
#131C58 #58133E #584F13 #13582C
square
#131C58 #58133E #584F13 #13582C
split-complementary
#131C58 #582C13 #3E5813
monochromatic
#050819 #080C26 #131C58 #1E2C8A #293CBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##131C58#FFFFFF#000000##FFFFFF
##131C581.0015.731.3315.73
#FFFFFF15.731.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131c58;
/* rgb */ color: rgb(19, 28, 88);
/* oklch */ color: oklch(26.4% 0.108 270.4);
Tailwind
colors: {
  custom: {
    50: '#5d5888',
    500: '#131c58',
    950: '#000000',
  },
}
SCSS
$custom: #131c58;
$custom-light: #5d5888;
$custom-dark: #000000;
JSON
{
  "hex": "#131c58",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 232.174,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26358,
    "c": 0.10781,
    "h": 270.4
  },
  "luminance": 0.01674
}

Semantic roles & 50–950 ramp

primary
#131C58
secondary
#908537
accent
#D240E7
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #131C58

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

Preview Lab → · Contrast checker → · Palette generator →

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