#1E1F80#1E1F80

#1E1F80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.157 H 272.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#1E1F80
RGBrgb(30, 31, 128)
HSLhsl(239, 62%, 31%)
HSVhsv(239, 77%, 50%)
CMYKcmyk(76.6%, 75.8%, 0%, 49.8%)
CIE-LABlab(19.28, 34.27, -54.17)
CIE-LCHlch(19.28, 64.10, 302.32°)
OKLaboklab(31.87% 0.0072 -0.1568)
OKLCHoklch(31.87% 0.157 272.6)
XYZxyz(4.9204, 2.8140, 20.7017)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F80 #807F1E
analogous
#1E5080 #1E1F80 #4E1E80
triadic
#1E1F80 #801E1F #1F801E
tetradic
#1E1F80 #801E50 #807F1E #1E804E
square
#1E1F80 #801E50 #807F1E #1E804E
split-complementary
#1E1F80 #804E1E #50801E
monochromatic
#07071D #12134E #1E1F80 #2A2BB2 #4546D3

Accessibility & contrast

On white

13.44
#1E1F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1E1F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F80
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F80#FFFFFF#000000##FFFFFF
##1E1F801.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e1f80;
/* rgb */ color: rgb(30, 31, 128);
/* oklch */ color: oklch(31.9% 0.157 272.6);
Tailwind
colors: {
  custom: {
    50: '#6b5ca6',
    500: '#1e1f80',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f80;
$custom-light: #6b5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f80",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 239.388,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31866,
    "c": 0.15692,
    "h": 272.6
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#1E1F80
secondary
#B3B247
accent
#E343E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #1E1F80

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

Preview Lab → · Contrast checker → · Palette generator →

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