#131C7E#131C7E

#131C7E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.160 H 268.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#131C7E
RGBrgb(19, 28, 126)
HSLhsl(235, 74%, 28%)
HSVhsv(235, 85%, 49%)
CMYKcmyk(84.9%, 77.8%, 0%, 50.6%)
CIE-LABlab(17.80, 34.48, -55.36)
CIE-LCHlch(17.80, 65.22, 301.91°)
OKLaboklab(30.58% -0.0035 -0.1604)
OKLCHoklch(30.58% 0.16 268.7)
XYZxyz(4.4484, 2.4748, 19.9778)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C7E #7E7513
analogous
#13517E #131C7E #3F137E
triadic
#131C7E #7E131C #1C7E13
tetradic
#131C7E #7E1351 #7E7513 #137E3F
square
#131C7E #7E1351 #7E7513 #137E3F
split-complementary
#131C7E #7E3F13 #517E13
monochromatic
#04061B #0B1049 #131C7E #1B28B3 #2C3BDF

Accessibility & contrast

On white

14.05
#131C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#131C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C7E
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C7E#FFFFFF#000000##FFFFFF
##131C7E1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #131c7e;
/* rgb */ color: rgb(19, 28, 126);
/* oklch */ color: oklch(30.6% 0.160 268.7);
Tailwind
colors: {
  custom: {
    50: '#6859a5',
    500: '#131c7e',
    950: '#000000',
  },
}
SCSS
$custom: #131c7e;
$custom-light: #6859a5;
$custom-dark: #000000;
JSON
{
  "hex": "#131c7e",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 234.953,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30584,
    "c": 0.16047,
    "h": 268.7
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#131C7E
secondary
#B4A939
accent
#E137F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #131C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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