#1F1E86#1F1E86

#1F1E86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.165 H 272.7°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#1F1E86
RGBrgb(31, 30, 134)
HSLhsl(241, 63%, 32%)
HSVhsv(241, 78%, 53%)
CMYKcmyk(76.9%, 77.6%, 0%, 47.5%)
CIE-LABlab(19.80, 37.07, -57.10)
CIE-LCHlch(19.80, 68.07, 302.99°)
OKLaboklab(32.45% 0.0077 -0.1652)
OKLCHoklch(32.45% 0.165 272.7)
XYZxyz(5.3310, 2.9405, 22.8363)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1E86 #85861E
analogous
#1E5186 #1F1E86 #531E86
triadic
#1F1E86 #861F1E #1E861F
tetradic
#1F1E86 #861E51 #85861E #1E8653
square
#1F1E86 #861E51 #85861E #1E8653
split-complementary
#1F1E86 #86531E #51861E
monochromatic
#080822 #131354 #1F1E86 #2B29B8 #4A48D6

Accessibility & contrast

On white

13.22
#1F1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1F1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1E86
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1E86#FFFFFF#000000##FFFFFF
##1F1E861.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f1e86;
/* rgb */ color: rgb(31, 30, 134);
/* oklch */ color: oklch(32.5% 0.165 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d5baa',
    500: '#1f1e86',
    950: '#000000',
  },
}
SCSS
$custom: #1f1e86;
$custom-light: #6d5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1e86",
  "rgb": {
    "r": 31,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 240.577,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32452,
    "c": 0.16542,
    "h": 272.7
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#1F1E86
secondary
#B7B847
accent
#E641E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1F1E86

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

Preview Lab → · Contrast checker → · Palette generator →

#1F1E86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva