#1E1E90#1E1E90

#1E1E90 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.178 H 271.4°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#1E1E90
RGBrgb(30, 30, 144)
HSLhsl(240, 66%, 34%)
HSVhsv(240, 79%, 56%)
CMYKcmyk(79.2%, 79.2%, 0%, 43.5%)
CIE-LABlab(20.89, 40.41, -61.55)
CIE-LCHlch(20.89, 73.63, 303.29°)
OKLaboklab(33.54% 0.0045 -0.1782)
OKLCHoklch(33.54% 0.178 271.4)
XYZxyz(6.0320, 3.2175, 26.6833)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E90 #90901E
analogous
#1E5790 #1E1E90 #571E90
triadic
#1E1E90 #901E1E #1E901E
tetradic
#1E1E90 #901E57 #90901E #1E9057
square
#1E1E90 #901E57 #90901E #1E9057
split-complementary
#1E1E90 #90571E #57901E
monochromatic
#09092B #13135D #1E1E90 #2929C3 #4E4EDA

Accessibility & contrast

On white

12.78
#1E1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E90
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E90#FFFFFF#000000##FFFFFF
##1E1E901.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e1e90;
/* rgb */ color: rgb(30, 30, 144);
/* oklch */ color: oklch(33.5% 0.178 271.4);
Tailwind
colors: {
  custom: {
    50: '#705cb2',
    500: '#1e1e90',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e90;
$custom-light: #705cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e90",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33543,
    "c": 0.17824,
    "h": 271.4
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#1E1E90
secondary
#BDBD4D
accent
#E83FE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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