#131E57#131E57

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

Color values

HEX#131E57
RGBrgb(19, 30, 87)
HSLhsl(230, 64%, 21%)
HSVhsv(230, 78%, 34%)
CMYKcmyk(78.2%, 65.5%, 0%, 65.9%)
CIE-LABlab(14.14, 17.82, -35.87)
CIE-LCHlch(14.14, 40.05, 296.42°)
OKLaboklab(26.68% -0.0008 -0.1035)
OKLCHoklch(26.68% 0.104 269.6)
XYZxyz(2.4525, 1.7549, 9.2244)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E57 #574C13
analogous
#134057 #131E57 #2A1357
triadic
#131E57 #57131E #1E5713
tetradic
#131E57 #571340 #574C13 #13572A
square
#131E57 #571340 #574C13 #13572A
split-complementary
#131E57 #572A13 #405713
monochromatic
#050919 #080D25 #131E57 #1E2F89 #2941BB

Accessibility & contrast

On white

15.54
#131E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131E57
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E57#FFFFFF#000000##FFFFFF
##131E571.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#002156
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131e57;
/* rgb */ color: rgb(19, 30, 87);
/* oklch */ color: oklch(26.7% 0.104 269.6);
Tailwind
colors: {
  custom: {
    50: '#5c5987',
    500: '#131e57',
    950: '#000000',
  },
}
SCSS
$custom: #131e57;
$custom-light: #5c5987;
$custom-dark: #000000;
JSON
{
  "hex": "#131e57",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 230.294,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26678,
    "c": 0.10354,
    "h": 269.6
  },
  "luminance": 0.01755
}

Semantic roles & 50–950 ramp

primary
#131E57
secondary
#8F8136
accent
#CC41E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131E57

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

Preview Lab → · Contrast checker → · Palette generator →

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