#1E1F95#1E1F95

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

Color values

HEX#1E1F95
RGBrgb(30, 31, 149)
HSLhsl(239, 66%, 35%)
HSVhsv(239, 80%, 58%)
CMYKcmyk(79.9%, 79.2%, 0%, 41.6%)
CIE-LABlab(21.67, 41.55, -63.36)
CIE-LCHlch(21.67, 75.76, 303.26°)
OKLaboklab(34.26% 0.0031 -0.1834)
OKLCHoklch(34.26% 0.183 271)
XYZxyz(6.4484, 3.4252, 28.7492)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F95 #95941E
analogous
#1E5A95 #1E1F95 #591E95
triadic
#1E1F95 #951E1F #1F951E
tetradic
#1E1F95 #951E5A #95941E #1E9559
square
#1E1F95 #951E5A #95941E #1E9559
split-complementary
#1E1F95 #95591E #5A951E
monochromatic
#090A2F #141462 #1E1F95 #282AC8 #5153DC

Accessibility & contrast

On white

12.46
#1E1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E1F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F95
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F95#FFFFFF#000000##FFFFFF
##1E1F951.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1f95;
/* rgb */ color: rgb(30, 31, 149);
/* oklch */ color: oklch(34.3% 0.183 271.0);
Tailwind
colors: {
  custom: {
    50: '#715db5',
    500: '#1e1f95',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f95;
$custom-light: #715db5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f95",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 239.496,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3426,
    "c": 0.18348,
    "h": 271
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#1E1F95
secondary
#BFBE50
accent
#E83EE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1F95

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

Preview Lab → · Contrast checker → · Palette generator →

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