#131F68#131F68

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

Color values

HEX#131F68
RGBrgb(19, 31, 104)
HSLhsl(232, 69%, 24%)
HSVhsv(232, 82%, 41%)
CMYKcmyk(81.7%, 70.2%, 0%, 59.2%)
CIE-LABlab(16.09, 24.07, -43.98)
CIE-LCHlch(16.09, 50.13, 298.69°)
OKLaboklab(28.63% -0.0022 -0.1273)
OKLCHoklch(28.63% 0.127 269)
XYZxyz(3.2564, 2.1175, 13.3311)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F68 #685C13
analogous
#134A68 #131F68 #321368
triadic
#131F68 #68131F #1F6813
tetradic
#131F68 #68134A #685C13 #136832
square
#131F68 #68134A #685C13 #136832
split-complementary
#131F68 #683213 #4A6813
monochromatic
#05081A #0A1034 #131F68 #1C2E9C #263ECF

Accessibility & contrast

On white

14.75
#131F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F68
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F68#FFFFFF#000000##FFFFFF
##131F681.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #131f68;
/* rgb */ color: rgb(19, 31, 104);
/* oklch */ color: oklch(28.6% 0.127 269.0);
Tailwind
colors: {
  custom: {
    50: '#615a94',
    500: '#131f68',
    950: '#000000',
  },
}
SCSS
$custom: #131f68;
$custom-light: #615a94;
$custom-dark: #000000;
JSON
{
  "hex": "#131f68",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 231.529,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28626,
    "c": 0.12731,
    "h": 269
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#131F68
secondary
#9F9137
accent
#D33CEC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #131F68

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

Preview Lab → · Contrast checker → · Palette generator →

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