#131B5F#131B5F

#131B5F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.9% C 0.119 H 270.5°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#131B5F
RGBrgb(19, 27, 95)
HSLhsl(234, 67%, 22%)
HSVhsv(234, 80%, 37%)
CMYKcmyk(80%, 71.6%, 0%, 62.7%)
CIE-LABlab(14.11, 23.27, -41.29)
CIE-LCHlch(14.11, 47.40, 299.40°)
OKLaboklab(26.89% 0.001 -0.1195)
OKLCHoklch(26.89% 0.119 270.5)
XYZxyz(2.7253, 1.7482, 11.0181)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B5F #5F5713
analogous
#13415F #131B5F #31135F
triadic
#131B5F #5F131B #1B5F13
tetradic
#131B5F #5F1341 #5F5713 #135F31
square
#131B5F #5F1341 #5F5713 #135F31
split-complementary
#131B5F #5F3113 #415F13
monochromatic
#05071A #090D2C #131B5F #1D2992 #2738C5

Accessibility & contrast

On white

15.56
#131B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#131B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B5F
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B5F#FFFFFF#000000##FFFFFF
##131B5F1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131b5f;
/* rgb */ color: rgb(19, 27, 95);
/* oklch */ color: oklch(26.9% 0.119 270.5);
Tailwind
colors: {
  custom: {
    50: '#5f578d',
    500: '#131b5f',
    950: '#000000',
  },
}
SCSS
$custom: #131b5f;
$custom-light: #5f578d;
$custom-dark: #000000;
JSON
{
  "hex": "#131b5f",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 233.684,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26894,
    "c": 0.11946,
    "h": 270.5
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#131B5F
secondary
#978D37
accent
#D83EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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