#131B7E#131B7E

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

Color values

HEX#131B7E
RGBrgb(19, 27, 126)
HSLhsl(236, 74%, 28%)
HSVhsv(236, 85%, 49%)
CMYKcmyk(84.9%, 78.6%, 0%, 50.6%)
CIE-LABlab(17.59, 35.09, -55.72)
CIE-LCHlch(17.59, 65.85, 302.20°)
OKLaboklab(30.43% -0.0032 -0.1614)
OKLCHoklch(30.43% 0.161 268.9)
XYZxyz(4.4251, 2.4281, 19.9701)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B7E #7E7613
analogous
#13507E #131B7E #40137E
triadic
#131B7E #7E131B #1B7E13
tetradic
#131B7E #7E1350 #7E7613 #137E40
square
#131B7E #7E1350 #7E7613 #137E40
split-complementary
#131B7E #7E4013 #507E13
monochromatic
#04061B #0B1049 #131B7E #1B26B3 #2C3ADF

Accessibility & contrast

On white

14.13
#131B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#131B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B7E
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B7E#FFFFFF#000000##FFFFFF
##131B7E1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131b7e;
/* rgb */ color: rgb(19, 27, 126);
/* oklch */ color: oklch(30.4% 0.161 268.9);
Tailwind
colors: {
  custom: {
    50: '#6859a5',
    500: '#131b7e',
    950: '#000000',
  },
}
SCSS
$custom: #131b7e;
$custom-light: #6859a5;
$custom-dark: #000000;
JSON
{
  "hex": "#131b7e",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 235.514,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30433,
    "c": 0.16148,
    "h": 268.9
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #131B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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