#1E1F83#1E1F83

#1E1F83 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.161 H 272.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#1E1F83
RGBrgb(30, 31, 131)
HSLhsl(239, 63%, 32%)
HSVhsv(239, 77%, 51%)
CMYKcmyk(77.1%, 76.3%, 0%, 48.6%)
CIE-LABlab(19.61, 35.33, -55.52)
CIE-LCHlch(19.61, 65.81, 302.47°)
OKLaboklab(32.2% 0.0066 -0.1607)
OKLCHoklch(32.2% 0.161 272.4)
XYZxyz(5.1208, 2.8941, 21.7571)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F83 #83821E
analogous
#1E5283 #1E1F83 #501E83
triadic
#1E1F83 #831E1F #1F831E
tetradic
#1E1F83 #831E52 #83821E #1E8350
square
#1E1F83 #831E52 #83821E #1E8350
split-complementary
#1E1F83 #83501E #52831E
monochromatic
#07071F #131351 #1E1F83 #292BB5 #4748D5

Accessibility & contrast

On white

13.30
#1E1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1F83
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F83#FFFFFF#000000##FFFFFF
##1E1F831.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e1f83;
/* rgb */ color: rgb(30, 31, 131);
/* oklch */ color: oklch(32.2% 0.161 272.4);
Tailwind
colors: {
  custom: {
    50: '#6c5ca8',
    500: '#1e1f83',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f83;
$custom-light: #6c5ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f83",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 239.406,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32201,
    "c": 0.16083,
    "h": 272.4
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#1E1F83
secondary
#B6B547
accent
#E442E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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