#131A63#131A63

#131A63 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.1% C 0.126 H 270.5°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#131A63
RGBrgb(19, 26, 99)
HSLhsl(235, 68%, 23%)
HSVhsv(235, 81%, 39%)
CMYKcmyk(80.8%, 73.7%, 0%, 61.2%)
CIE-LABlab(14.28, 25.55, -43.67)
CIE-LCHlch(14.28, 50.60, 300.33°)
OKLaboklab(27.15% 0.0012 -0.1264)
OKLCHoklch(27.15% 0.126 270.5)
XYZxyz(2.8893, 1.7778, 11.9928)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A63 #635C13
analogous
#134263 #131A63 #341363
triadic
#131A63 #63131A #1A6313
tetradic
#131A63 #631342 #635C13 #136334
square
#131A63 #631342 #635C13 #136334
split-complementary
#131A63 #633413 #426313
monochromatic
#05071A #090D30 #131A63 #1D2796 #2735CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##131A63#FFFFFF#000000##FFFFFF
##131A631.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)
#002865
Deuteranopia (green-blind)
#002062
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131a63;
/* rgb */ color: rgb(19, 26, 99);
/* oklch */ color: oklch(27.1% 0.126 270.5);
Tailwind
colors: {
  custom: {
    50: '#605790',
    500: '#131a63',
    950: '#000000',
  },
}
SCSS
$custom: #131a63;
$custom-light: #605790;
$custom-dark: #000000;
JSON
{
  "hex": "#131a63",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 234.75,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27146,
    "c": 0.12642,
    "h": 270.5
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#131A63
secondary
#9B9237
accent
#DB3DEB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030D
muted
#7A787D

Preview Lab

Preview with #131A63

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

Preview Lab → · Contrast checker → · Palette generator →

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