#131A7E#131A7E

#131A7E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.162 H 269.0°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#131A7E
RGBrgb(19, 26, 126)
HSLhsl(236, 74%, 28%)
HSVhsv(236, 85%, 49%)
CMYKcmyk(84.9%, 79.4%, 0%, 50.6%)
CIE-LABlab(17.38, 35.68, -56.06)
CIE-LCHlch(17.38, 66.46, 302.47°)
OKLaboklab(30.29% -0.0029 -0.1624)
OKLCHoklch(30.29% 0.162 269)
XYZxyz(4.4026, 2.3831, 19.9626)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A7E #7E7713
analogous
#134F7E #131A7E #41137E
triadic
#131A7E #7E131A #1A7E13
tetradic
#131A7E #7E134F #7E7713 #137E41
square
#131A7E #7E134F #7E7713 #137E41
split-complementary
#131A7E #7E4113 #4F7E13
monochromatic
#04051B #0B0F49 #131A7E #1B25B3 #2C38DF

Accessibility & contrast

On white

14.22
#131A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131A7E
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A7E#FFFFFF#000000##FFFFFF
##131A7E1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #131a7e;
/* rgb */ color: rgb(19, 26, 126);
/* oklch */ color: oklch(30.3% 0.162 269.0);
Tailwind
colors: {
  custom: {
    50: '#6858a5',
    500: '#131a7e',
    950: '#000000',
  },
}
SCSS
$custom: #131a7e;
$custom-light: #6858a5;
$custom-dark: #000000;
JSON
{
  "hex": "#131a7e",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 236.075,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30285,
    "c": 0.16247,
    "h": 269
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #131A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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