#131F6F#131F6F

#131F6F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.137 H 268.8°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#131F6F
RGBrgb(19, 31, 111)
HSLhsl(232, 71%, 25%)
HSVhsv(232, 83%, 44%)
CMYKcmyk(82.9%, 72.1%, 0%, 56.5%)
CIE-LABlab(16.82, 26.85, -47.34)
CIE-LCHlch(16.82, 54.43, 299.56°)
OKLaboklab(29.38% -0.0028 -0.1371)
OKLCHoklch(29.38% 0.137 268.8)
XYZxyz(3.6268, 2.2657, 15.2820)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F6F #6F6313
analogous
#134D6F #131F6F #35136F
triadic
#131F6F #6F131F #1F6F13
tetradic
#131F6F #6F134D #6F6313 #136F35
square
#131F6F #6F134D #6F6313 #136F35
split-complementary
#131F6F #6F3513 #4D6F13
monochromatic
#04071A #0A103B #131F6F #1C2EA3 #253CD8

Accessibility & contrast

On white

14.45
#131F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#131F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F6F
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F6F#FFFFFF#000000##FFFFFF
##131F6F1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #131f6f;
/* rgb */ color: rgb(19, 31, 111);
/* oklch */ color: oklch(29.4% 0.137 268.8);
Tailwind
colors: {
  custom: {
    50: '#635b99',
    500: '#131f6f',
    950: '#000000',
  },
}
SCSS
$custom: #131f6f;
$custom-light: #635b99;
$custom-dark: #000000;
JSON
{
  "hex": "#131f6f",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 232.174,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.2938,
    "c": 0.13714,
    "h": 268.8
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#131F6F
secondary
#A69838
accent
#D63AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #131F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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