#1E1F90#1E1F90

#1E1F90 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.177 H 271.3°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1E1F90
RGBrgb(30, 31, 144)
HSLhsl(239, 66%, 34%)
HSVhsv(239, 79%, 56%)
CMYKcmyk(79.2%, 78.5%, 0%, 43.5%)
CIE-LABlab(21.09, 39.85, -61.22)
CIE-LCHlch(21.09, 73.05, 303.06°)
OKLaboklab(33.68% 0.0041 -0.1772)
OKLCHoklch(33.68% 0.177 271.3)
XYZxyz(6.0577, 3.2689, 26.6919)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F90 #908F1E
analogous
#1E5890 #1E1F90 #561E90
triadic
#1E1F90 #901E1F #1F901E
tetradic
#1E1F90 #901E58 #908F1E #1E9056
square
#1E1F90 #901E58 #908F1E #1E9056
split-complementary
#1E1F90 #90561E #58901E
monochromatic
#09092B #13145D #1E1F90 #292AC3 #4E4FDA

Accessibility & contrast

On white

12.70
#1E1F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E1F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F90
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F90#FFFFFF#000000##FFFFFF
##1E1F901.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e1f90;
/* rgb */ color: rgb(30, 31, 144);
/* oklch */ color: oklch(33.7% 0.177 271.3);
Tailwind
colors: {
  custom: {
    50: '#705db2',
    500: '#1e1f90',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f90;
$custom-light: #705db2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f90",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 239.474,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3368,
    "c": 0.1773,
    "h": 271.3
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#1E1F90
secondary
#BDBC4D
accent
#E73FE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1F90

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

Preview Lab → · Contrast checker → · Palette generator →

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