#131780#131780

#131780 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.168 H 269.2°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#131780
RGBrgb(19, 23, 128)
HSLhsl(238, 74%, 29%)
HSVhsv(238, 85%, 50%)
CMYKcmyk(85.2%, 82%, 0%, 49.8%)
CIE-LABlab(17.03, 38.09, -57.91)
CIE-LCHlch(17.03, 69.32, 303.34°)
OKLaboklab(30.11% -0.0025 -0.1677)
OKLCHoklch(30.11% 0.168 269.2)
XYZxyz(4.4699, 2.3092, 20.6280)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131780 #807C13
analogous
#134E80 #131780 #461380
triadic
#131780 #801317 #178013
tetradic
#131780 #80134E #807C13 #138046
square
#131780 #80134E #807C13 #138046
split-complementary
#131780 #804613 #4E8013
monochromatic
#04051B #0B0D4B #131780 #1B21B5 #2D34E0

Accessibility & contrast

On white

14.36
#131780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#131780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131780
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131780#FFFFFF#000000##FFFFFF
##1317801.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #131780;
/* rgb */ color: rgb(19, 23, 128);
/* oklch */ color: oklch(30.1% 0.168 269.2);
Tailwind
colors: {
  custom: {
    50: '#6956a6',
    500: '#131780',
    950: '#000000',
  },
}
SCSS
$custom: #131780;
$custom-light: #6956a6;
$custom-dark: #000000;
JSON
{
  "hex": "#131780",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 237.798,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30111,
    "c": 0.16777,
    "h": 269.2
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#131780
secondary
#B5B139
accent
#EA37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #131780

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

Preview Lab → · Contrast checker → · Palette generator →

#131780 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva