#131F66#131F66

#131F66 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.4% C 0.124 H 269.0°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#131F66
RGBrgb(19, 31, 102)
HSLhsl(231, 69%, 24%)
HSVhsv(231, 81%, 40%)
CMYKcmyk(81.4%, 69.6%, 0%, 60%)
CIE-LABlab(15.89, 23.26, -43.00)
CIE-LCHlch(15.89, 48.89, 298.41°)
OKLaboklab(28.41% -0.0021 -0.1244)
OKLCHoklch(28.41% 0.124 269)
XYZxyz(3.1560, 2.0774, 12.8024)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F66 #665A13
analogous
#134866 #131F66 #301366
triadic
#131F66 #66131F #1F6613
tetradic
#131F66 #661348 #665A13 #136630
square
#131F66 #661348 #665A13 #136630
split-complementary
#131F66 #663013 #486613
monochromatic
#05081A #090F32 #131F66 #1D2F9A #263ECD

Accessibility & contrast

On white

14.83
#131F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#131F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F66
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F66#FFFFFF#000000##FFFFFF
##131F661.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #131f66;
/* rgb */ color: rgb(19, 31, 102);
/* oklch */ color: oklch(28.4% 0.124 269.0);
Tailwind
colors: {
  custom: {
    50: '#605a92',
    500: '#131f66',
    950: '#000000',
  },
}
SCSS
$custom: #131f66;
$custom-light: #605a92;
$custom-dark: #000000;
JSON
{
  "hex": "#131f66",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 231.325,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28414,
    "c": 0.12445,
    "h": 269
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#131F66
secondary
#9D8F37
accent
#D23CEB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #131F66

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

Preview Lab → · Contrast checker → · Palette generator →

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