#131F65#131F65

#131F65 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.3% C 0.123 H 269.1°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#131F65
RGBrgb(19, 31, 101)
HSLhsl(231, 68%, 24%)
HSVhsv(231, 81%, 40%)
CMYKcmyk(81.2%, 69.3%, 0%, 60.4%)
CIE-LABlab(15.79, 22.85, -42.51)
CIE-LCHlch(15.79, 48.26, 298.26°)
OKLaboklab(28.31% -0.002 -0.123)
OKLCHoklch(28.31% 0.123 269.1)
XYZxyz(3.1067, 2.0577, 12.5428)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F65 #655913
analogous
#134865 #131F65 #301365
triadic
#131F65 #65131F #1F6513
tetradic
#131F65 #651348 #655913 #136530
square
#131F65 #651348 #655913 #136530
split-complementary
#131F65 #653013 #486513
monochromatic
#05081A #090F31 #131F65 #1D2F99 #263FCC

Accessibility & contrast

On white

14.88
#131F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#131F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F65
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F65#FFFFFF#000000##FFFFFF
##131F651.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #131f65;
/* rgb */ color: rgb(19, 31, 101);
/* oklch */ color: oklch(28.3% 0.123 269.1);
Tailwind
colors: {
  custom: {
    50: '#605a92',
    500: '#131f65',
    950: '#000000',
  },
}
SCSS
$custom: #131f65;
$custom-light: #605a92;
$custom-dark: #000000;
JSON
{
  "hex": "#131f65",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 231.22,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28309,
    "c": 0.12301,
    "h": 269.1
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#131F65
secondary
#9D8E37
accent
#D23DEB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #131F65

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

Preview Lab → · Contrast checker → · Palette generator →

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