#1E1F94#1E1F94

#1E1F94 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.182 H 271.0°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1E1F94
RGBrgb(30, 31, 148)
HSLhsl(239, 66%, 35%)
HSVhsv(239, 80%, 58%)
CMYKcmyk(79.7%, 79.1%, 0%, 42%)
CIE-LABlab(21.56, 41.21, -62.93)
CIE-LCHlch(21.56, 75.22, 303.22°)
OKLaboklab(34.14% 0.0033 -0.1822)
OKLCHoklch(34.14% 0.182 271)
XYZxyz(6.3689, 3.3934, 28.3306)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F94 #94931E
analogous
#1E5A94 #1E1F94 #581E94
triadic
#1E1F94 #941E1F #1F941E
tetradic
#1E1F94 #941E5A #94931E #1E9458
square
#1E1F94 #941E5A #94931E #1E9458
split-complementary
#1E1F94 #94581E #5A941E
monochromatic
#090A2E #141461 #1E1F94 #282AC7 #5152DC

Accessibility & contrast

On white

12.51
#1E1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E1F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F94
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F94#FFFFFF#000000##FFFFFF
##1E1F941.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#002E92
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e1f94;
/* rgb */ color: rgb(30, 31, 148);
/* oklch */ color: oklch(34.1% 0.182 271.0);
Tailwind
colors: {
  custom: {
    50: '#715db5',
    500: '#1e1f94',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f94;
$custom-light: #715db5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f94",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 239.492,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34144,
    "c": 0.18224,
    "h": 271
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#1E1F94
secondary
#BFBE4F
accent
#E83FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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