#131F6A#131F6A

#131F6A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.8% C 0.130 H 269.0°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#131F6A
RGBrgb(19, 31, 106)
HSLhsl(232, 70%, 25%)
HSVhsv(232, 82%, 42%)
CMYKcmyk(82.1%, 70.8%, 0%, 58.4%)
CIE-LABlab(16.30, 24.87, -44.95)
CIE-LCHlch(16.30, 51.37, 298.95°)
OKLaboklab(28.84% -0.0024 -0.1301)
OKLCHoklch(28.84% 0.13 269)
XYZxyz(3.3592, 2.1586, 13.8725)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F6A #6A5E13
analogous
#134B6A #131F6A #33136A
triadic
#131F6A #6A131F #1F6A13
tetradic
#131F6A #6A134B #6A5E13 #136A33
square
#131F6A #6A134B #6A5E13 #136A33
split-complementary
#131F6A #6A3313 #4B6A13
monochromatic
#05081A #0A1036 #131F6A #1C2E9E #263DD2

Accessibility & contrast

On white

14.67
#131F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#131F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F6A
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F6A#FFFFFF#000000##FFFFFF
##131F6A1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002469
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #131f6a;
/* rgb */ color: rgb(19, 31, 106);
/* oklch */ color: oklch(28.8% 0.130 269.0);
Tailwind
colors: {
  custom: {
    50: '#625a95',
    500: '#131f6a',
    950: '#000000',
  },
}
SCSS
$custom: #131f6a;
$custom-light: #625a95;
$custom-dark: #000000;
JSON
{
  "hex": "#131f6a",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 231.724,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28839,
    "c": 0.13015,
    "h": 269
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#131F6A
secondary
#A19338
accent
#D43BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #131F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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