#131A7F#131A7F

#131A7F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.164 H 268.9°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#131A7F
RGBrgb(19, 26, 127)
HSLhsl(236, 74%, 29%)
HSVhsv(236, 85%, 50%)
CMYKcmyk(85%, 79.5%, 0%, 50.2%)
CIE-LABlab(17.50, 36.04, -56.50)
CIE-LCHlch(17.50, 67.02, 302.53°)
OKLaboklab(30.4% -0.0031 -0.1637)
OKLCHoklch(30.4% 0.164 268.9)
XYZxyz(4.4674, 2.4090, 20.3041)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A7F #7F7813
analogous
#13507F #131A7F #42137F
triadic
#131A7F #7F131A #1A7F13
tetradic
#131A7F #7F1350 #7F7813 #137F42
square
#131A7F #7F1350 #7F7813 #137F42
split-complementary
#131A7F #7F4213 #507F13
monochromatic
#04051B #0B0F4A #131A7F #1B25B4 #2D38E0

Accessibility & contrast

On white

14.17
#131A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#131A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131A7F
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A7F#FFFFFF#000000##FFFFFF
##131A7F1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #131a7f;
/* rgb */ color: rgb(19, 26, 127);
/* oklch */ color: oklch(30.4% 0.164 268.9);
Tailwind
colors: {
  custom: {
    50: '#6858a5',
    500: '#131a7f',
    950: '#000000',
  },
}
SCSS
$custom: #131a7f;
$custom-light: #6858a5;
$custom-dark: #000000;
JSON
{
  "hex": "#131a7f",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 236.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30405,
    "c": 0.16373,
    "h": 268.9
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#131A7F
secondary
#B4AC39
accent
#E537F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #131A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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