#1E1F85#1E1F85

#1E1F85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.163 H 272.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1E1F85
RGBrgb(30, 31, 133)
HSLhsl(239, 63%, 32%)
HSVhsv(239, 77%, 52%)
CMYKcmyk(77.4%, 76.7%, 0%, 47.8%)
CIE-LABlab(19.84, 36.04, -56.41)
CIE-LCHlch(19.84, 66.94, 302.57°)
OKLaboklab(32.43% 0.0062 -0.1633)
OKLCHoklch(32.43% 0.163 272.2)
XYZxyz(5.2576, 2.9489, 22.4779)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F85 #85841E
analogous
#1E5385 #1E1F85 #501E85
triadic
#1E1F85 #851E1F #1F851E
tetradic
#1E1F85 #851E53 #85841E #1E8550
square
#1E1F85 #851E53 #85841E #1E8550
split-complementary
#1E1F85 #85501E #53851E
monochromatic
#070821 #131353 #1E1F85 #292BB7 #4849D6

Accessibility & contrast

On white

13.21
#1E1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1F85
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F85#FFFFFF#000000##FFFFFF
##1E1F851.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1f85;
/* rgb */ color: rgb(30, 31, 133);
/* oklch */ color: oklch(32.4% 0.163 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d5caa',
    500: '#1e1f85',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f85;
$custom-light: #6d5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f85",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 239.417,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32426,
    "c": 0.1634,
    "h": 272.2
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#1E1F85
secondary
#B8B747
accent
#E542E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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