#1E1E98#1E1E98

#1E1E98 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.188 H 270.9°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#1E1E98
RGBrgb(30, 30, 152)
HSLhsl(240, 67%, 36%)
HSVhsv(240, 80%, 60%)
CMYKcmyk(80.3%, 80.3%, 0%, 40.4%)
CIE-LABlab(21.84, 43.09, -64.93)
CIE-LCHlch(21.84, 77.93, 303.57°)
OKLaboklab(34.48% 0.0028 -0.188)
OKLCHoklch(34.48% 0.188 270.9)
XYZxyz(6.6653, 3.4708, 30.0183)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E98 #98981E
analogous
#1E5B98 #1E1E98 #5B1E98
triadic
#1E1E98 #981E1E #1E981E
tetradic
#1E1E98 #981E5B #98981E #1E985B
square
#1E1E98 #981E5B #98981E #1E985B
split-complementary
#1E1E98 #985B1E #5B981E
monochromatic
#0A0A32 #141465 #1E1E98 #2828CB #5353DD

Accessibility & contrast

On white

12.39
#1E1E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1E98
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E98#FFFFFF#000000##FFFFFF
##1E1E981.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002E96
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e1e98;
/* rgb */ color: rgb(30, 30, 152);
/* oklch */ color: oklch(34.5% 0.188 270.9);
Tailwind
colors: {
  custom: {
    50: '#725db8',
    500: '#1e1e98',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e98;
$custom-light: #725db8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e98",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 240,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3448,
    "c": 0.18801,
    "h": 270.9
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#1E1E98
secondary
#C0C051
accent
#EA3EEA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1E98

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

Preview Lab → · Contrast checker → · Palette generator →

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