#131B7F#131B7F

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

Color values

HEX#131B7F
RGBrgb(19, 27, 127)
HSLhsl(236, 74%, 29%)
HSVhsv(236, 85%, 50%)
CMYKcmyk(85%, 78.7%, 0%, 50.2%)
CIE-LABlab(17.71, 35.45, -56.16)
CIE-LCHlch(17.71, 66.41, 302.26°)
OKLaboklab(30.55% -0.0033 -0.1627)
OKLCHoklch(30.55% 0.163 268.8)
XYZxyz(4.4899, 2.4541, 20.3116)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B7F #7F7713
analogous
#13517F #131B7F #41137F
triadic
#131B7F #7F131B #1B7F13
tetradic
#131B7F #7F1351 #7F7713 #137F41
square
#131B7F #7F1351 #7F7713 #137F41
split-complementary
#131B7F #7F4113 #517F13
monochromatic
#04061B #0B104A #131B7F #1B26B4 #2D3AE0

Accessibility & contrast

On white

14.08
#131B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B7F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B7F#FFFFFF#000000##FFFFFF
##131B7F1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131b7f;
/* rgb */ color: rgb(19, 27, 127);
/* oklch */ color: oklch(30.6% 0.163 268.8);
Tailwind
colors: {
  custom: {
    50: '#6859a5',
    500: '#131b7f',
    950: '#000000',
  },
}
SCSS
$custom: #131b7f;
$custom-light: #6859a5;
$custom-dark: #000000;
JSON
{
  "hex": "#131b7f",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 235.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30552,
    "c": 0.16275,
    "h": 268.8
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#131B7F
secondary
#B4AB39
accent
#E337F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #131B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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