#1F1E85#1F1E85

#1F1E85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.164 H 272.8°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#1F1E85
RGBrgb(31, 30, 133)
HSLhsl(241, 63%, 32%)
HSVhsv(241, 77%, 52%)
CMYKcmyk(76.7%, 77.4%, 0%, 47.8%)
CIE-LABlab(19.69, 36.72, -56.65)
CIE-LCHlch(19.69, 67.51, 302.95°)
OKLaboklab(32.34% 0.0079 -0.164)
OKLCHoklch(32.34% 0.164 272.8)
XYZxyz(5.2616, 2.9128, 22.4707)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1E85 #84851E
analogous
#1E5085 #1F1E85 #531E85
triadic
#1F1E85 #851F1E #1E851F
tetradic
#1F1E85 #851E50 #84851E #1E8553
square
#1F1E85 #851E50 #84851E #1E8553
split-complementary
#1F1E85 #85531E #50851E
monochromatic
#080721 #131353 #1F1E85 #2B29B7 #4948D6

Accessibility & contrast

On white

13.27
#1F1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1F1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1E85
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1E85#FFFFFF#000000##FFFFFF
##1F1E851.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f1e85;
/* rgb */ color: rgb(31, 30, 133);
/* oklch */ color: oklch(32.3% 0.164 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d5baa',
    500: '#1f1e85',
    950: '#000000',
  },
}
SCSS
$custom: #1f1e85;
$custom-light: #6d5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1e85",
  "rgb": {
    "r": 31,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 240.583,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32338,
    "c": 0.16414,
    "h": 272.8
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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