#131C7F#131C7F

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

Color values

HEX#131C7F
RGBrgb(19, 28, 127)
HSLhsl(235, 74%, 29%)
HSVhsv(235, 85%, 50%)
CMYKcmyk(85%, 78%, 0%, 50.2%)
CIE-LABlab(17.92, 34.85, -55.81)
CIE-LCHlch(17.92, 65.79, 301.98°)
OKLaboklab(30.7% -0.0037 -0.1617)
OKLCHoklch(30.7% 0.162 268.7)
XYZxyz(4.5133, 2.5007, 20.3194)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C7F #7F7613
analogous
#13527F #131C7F #40137F
triadic
#131C7F #7F131C #1C7F13
tetradic
#131C7F #7F1352 #7F7613 #137F40
square
#131C7F #7F1352 #7F7613 #137F40
split-complementary
#131C7F #7F4013 #527F13
monochromatic
#04061B #0B104A #131C7F #1B28B4 #2D3CE0

Accessibility & contrast

On white

14.00
#131C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131C7F
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C7F#FFFFFF#000000##FFFFFF
##131C7F1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #131c7f;
/* rgb */ color: rgb(19, 28, 127);
/* oklch */ color: oklch(30.7% 0.162 268.7);
Tailwind
colors: {
  custom: {
    50: '#6859a5',
    500: '#131c7f',
    950: '#000000',
  },
}
SCSS
$custom: #131c7f;
$custom-light: #6859a5;
$custom-dark: #000000;
JSON
{
  "hex": "#131c7f",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 235,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30702,
    "c": 0.16175,
    "h": 268.7
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#131C7F
secondary
#B4AA39
accent
#E137F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #131C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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