#131E58#131E58

#131E58 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.105 H 269.6°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#131E58
RGBrgb(19, 30, 88)
HSLhsl(230, 64%, 21%)
HSVhsv(230, 78%, 35%)
CMYKcmyk(78.4%, 65.9%, 0%, 65.5%)
CIE-LABlab(14.24, 18.24, -36.39)
CIE-LCHlch(14.24, 40.70, 296.62°)
OKLaboklab(26.78% -0.0008 -0.1051)
OKLCHoklch(26.78% 0.105 269.6)
XYZxyz(2.4937, 1.7713, 9.4411)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E58 #584D13
analogous
#134058 #131E58 #2A1358
triadic
#131E58 #58131E #1E5813
tetradic
#131E58 #581340 #584D13 #13582A
square
#131E58 #581340 #584D13 #13582A
split-complementary
#131E58 #582A13 #405813
monochromatic
#050919 #080D26 #131E58 #1E2F8A #2940BD

Accessibility & contrast

On white

15.51
#131E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131E58
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E58#FFFFFF#000000##FFFFFF
##131E581.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002157
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131e58;
/* rgb */ color: rgb(19, 30, 88);
/* oklch */ color: oklch(26.8% 0.105 269.6);
Tailwind
colors: {
  custom: {
    50: '#5c5988',
    500: '#131e58',
    950: '#000000',
  },
}
SCSS
$custom: #131e58;
$custom-light: #5c5988;
$custom-dark: #000000;
JSON
{
  "hex": "#131e58",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 230.435,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26777,
    "c": 0.10507,
    "h": 269.6
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#131E58
secondary
#908237
accent
#CD40E7
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #131E58

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

Preview Lab → · Contrast checker → · Palette generator →

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