#131E5F#131E5F

#131E5F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.116 H 269.5°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#131E5F
RGBrgb(19, 30, 95)
HSLhsl(231, 67%, 22%)
HSVhsv(231, 80%, 37%)
CMYKcmyk(80%, 68.4%, 0%, 62.7%)
CIE-LABlab(14.91, 21.13, -39.97)
CIE-LCHlch(14.91, 45.21, 297.86°)
OKLaboklab(27.49% -0.001 -0.1155)
OKLCHoklch(27.49% 0.116 269.5)
XYZxyz(2.7977, 1.8929, 11.0422)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E5F #5F5413
analogous
#13445F #131E5F #2E135F
triadic
#131E5F #5F131E #1E5F13
tetradic
#131E5F #5F1344 #5F5413 #135F2E
square
#131E5F #5F1344 #5F5413 #135F2E
split-complementary
#131E5F #5F2E13 #445F13
monochromatic
#05081A #090E2C #131E5F #1D2E92 #273EC5

Accessibility & contrast

On white

15.23
#131E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#131E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131E5F
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E5F#FFFFFF#000000##FFFFFF
##131E5F1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00225E
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131e5f;
/* rgb */ color: rgb(19, 30, 95);
/* oklch */ color: oklch(27.5% 0.116 269.5);
Tailwind
colors: {
  custom: {
    50: '#5e598d',
    500: '#131e5f',
    950: '#000000',
  },
}
SCSS
$custom: #131e5f;
$custom-light: #5e598d;
$custom-dark: #000000;
JSON
{
  "hex": "#131e5f",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 231.316,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27486,
    "c": 0.11555,
    "h": 269.5
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#131E5F
secondary
#978937
accent
#D13EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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