#131E7F#131E7F

#131E7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.160 H 268.4°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#131E7F
RGBrgb(19, 30, 127)
HSLhsl(234, 74%, 29%)
HSVhsv(234, 85%, 50%)
CMYKcmyk(85%, 76.4%, 0%, 50.2%)
CIE-LABlab(18.36, 33.61, -55.08)
CIE-LCHlch(18.36, 64.53, 301.39°)
OKLaboklab(31.01% -0.0043 -0.1596)
OKLCHoklch(31.01% 0.16 268.4)
XYZxyz(4.5623, 2.5988, 20.3357)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E7F #7F7413
analogous
#13547F #131E7F #3E137F
triadic
#131E7F #7F131E #1E7F13
tetradic
#131E7F #7F1354 #7F7413 #137F3E
square
#131E7F #7F1354 #7F7413 #137F3E
split-complementary
#131E7F #7F3E13 #547F13
monochromatic
#04061B #0B114A #131E7F #1B2BB4 #2D3FE0

Accessibility & contrast

On white

13.82
#131E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#131E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131E7F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E7F#FFFFFF#000000##FFFFFF
##131E7F1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #131e7f;
/* rgb */ color: rgb(19, 30, 127);
/* oklch */ color: oklch(31.0% 0.160 268.4);
Tailwind
colors: {
  custom: {
    50: '#685ba5',
    500: '#131e7f',
    950: '#000000',
  },
}
SCSS
$custom: #131e7f;
$custom-light: #685ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#131e7f",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 233.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31014,
    "c": 0.15969,
    "h": 268.4
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#131E7F
secondary
#B4A839
accent
#DE37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #131E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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