#131B5D#131B5D

#131B5D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.117 H 270.6°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#131B5D
RGBrgb(19, 27, 93)
HSLhsl(234, 66%, 22%)
HSVhsv(234, 80%, 36%)
CMYKcmyk(79.6%, 71%, 0%, 63.5%)
CIE-LABlab(13.90, 22.47, -40.30)
CIE-LCHlch(13.90, 46.14, 299.14°)
OKLaboklab(26.68% 0.0012 -0.1165)
OKLCHoklch(26.68% 0.117 270.6)
XYZxyz(2.6356, 1.7123, 10.5454)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B5D #5D5513
analogous
#13405D #131B5D #30135D
triadic
#131B5D #5D131B #1B5D13
tetradic
#131B5D #5D1340 #5D5513 #135D30
square
#131B5D #5D1340 #5D5513 #135D30
split-complementary
#131B5D #5D3013 #405D13
monochromatic
#050719 #090C2A #131B5D #1D2A90 #2839C3

Accessibility & contrast

On white

15.64
#131B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B5D
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B5D#FFFFFF#000000##FFFFFF
##131B5D1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131b5d;
/* rgb */ color: rgb(19, 27, 93);
/* oklch */ color: oklch(26.7% 0.117 270.6);
Tailwind
colors: {
  custom: {
    50: '#5e578c',
    500: '#131b5d',
    950: '#000000',
  },
}
SCSS
$custom: #131b5d;
$custom-light: #5e578c;
$custom-dark: #000000;
JSON
{
  "hex": "#131b5d",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 233.514,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2668,
    "c": 0.11656,
    "h": 270.6
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#131B5D
secondary
#958B37
accent
#D73FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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