#131A5F#131A5F

#131A5F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.121 H 270.8°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#131A5F
RGBrgb(19, 26, 95)
HSLhsl(234, 67%, 22%)
HSVhsv(234, 80%, 37%)
CMYKcmyk(80%, 72.6%, 0%, 62.7%)
CIE-LABlab(13.85, 23.97, -41.72)
CIE-LCHlch(13.85, 48.12, 299.88°)
OKLaboklab(26.71% 0.0017 -0.1207)
OKLCHoklch(26.71% 0.121 270.8)
XYZxyz(2.7028, 1.7032, 11.0106)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A5F #5F5813
analogous
#13405F #131A5F #32135F
triadic
#131A5F #5F131A #1A5F13
tetradic
#131A5F #5F1340 #5F5813 #135F32
square
#131A5F #5F1340 #5F5813 #135F32
split-complementary
#131A5F #5F3213 #405F13
monochromatic
#05071A #090C2C #131A5F #1D2892 #2736C5

Accessibility & contrast

On white

15.66
#131A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131A5F
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A5F#FFFFFF#000000##FFFFFF
##131A5F1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00205E
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131a5f;
/* rgb */ color: rgb(19, 26, 95);
/* oklch */ color: oklch(26.7% 0.121 270.8);
Tailwind
colors: {
  custom: {
    50: '#5f568d',
    500: '#131a5f',
    950: '#000000',
  },
}
SCSS
$custom: #131a5f;
$custom-light: #5f568d;
$custom-dark: #000000;
JSON
{
  "hex": "#131a5f",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 234.474,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26705,
    "c": 0.12072,
    "h": 270.8
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#131A5F
secondary
#978E37
accent
#DA3EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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