#131B5C#131B5C

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

Color values

HEX#131B5C
RGBrgb(19, 27, 92)
HSLhsl(233, 66%, 22%)
HSVhsv(233, 79%, 36%)
CMYKcmyk(79.3%, 70.7%, 0%, 63.9%)
CIE-LABlab(13.80, 22.06, -39.80)
CIE-LCHlch(13.80, 45.50, 299.00°)
OKLaboklab(26.57% 0.0013 -0.1151)
OKLCHoklch(26.57% 0.115 270.6)
XYZxyz(2.5916, 1.6947, 10.3137)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B5C #5C5413
analogous
#13405C #131B5C #30135C
triadic
#131B5C #5C131B #1B5C13
tetradic
#131B5C #5C1340 #5C5413 #135C30
square
#131B5C #5C1340 #5C5413 #135C30
split-complementary
#131B5C #5C3013 #405C13
monochromatic
#050719 #090C29 #131B5C #1D2A8F #2839C1

Accessibility & contrast

On white

15.68
#131B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B5C
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B5C#FFFFFF#000000##FFFFFF
##131B5C1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131b5c;
/* rgb */ color: rgb(19, 27, 92);
/* oklch */ color: oklch(26.6% 0.115 270.6);
Tailwind
colors: {
  custom: {
    50: '#5e578b',
    500: '#131b5c',
    950: '#000000',
  },
}
SCSS
$custom: #131b5c;
$custom-light: #5e578b;
$custom-dark: #000000;
JSON
{
  "hex": "#131b5c",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 233.425,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26573,
    "c": 0.11509,
    "h": 270.6
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#131B5C
secondary
#948A37
accent
#D63FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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