#1E1994#1E1994

#1E1994 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.187 H 271.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#1E1994
RGBrgb(30, 25, 148)
HSLhsl(242, 71%, 34%)
HSVhsv(242, 83%, 58%)
CMYKcmyk(79.7%, 83.1%, 0%, 42%)
CIE-LABlab(20.47, 44.34, -64.72)
CIE-LCHlch(20.47, 78.46, 304.42°)
OKLaboklab(33.39% 0.0051 -0.1873)
OKLCHoklch(33.39% 0.187 271.6)
XYZxyz(6.2265, 3.1087, 28.2831)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1994 #8F9419
analogous
#195294 #1E1994 #5C1994
triadic
#1E1994 #941E19 #19941E
tetradic
#1E1994 #941952 #8F9419 #19945C
square
#1E1994 #941952 #8F9419 #19945C
split-complementary
#1E1994 #945C19 #529419
monochromatic
#09072B #131060 #1E1994 #2922C8 #4E47E0

Accessibility & contrast

On white

12.95
#1E1994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E1994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1994
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1994#FFFFFF#000000##FFFFFF
##1E19941.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003797
Deuteranopia (green-blind)
#002B92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e1994;
/* rgb */ color: rgb(30, 25, 148);
/* oklch */ color: oklch(33.4% 0.187 271.6);
Tailwind
colors: {
  custom: {
    50: '#7159b5',
    500: '#1e1994',
    950: '#000000',
  },
}
SCSS
$custom: #1e1994;
$custom-light: #7159b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1994",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 242.439,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33388,
    "c": 0.18738,
    "h": 271.6
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#1E1994
secondary
#BCC147
accent
#EE3AE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1994

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

Preview Lab → · Contrast checker → · Palette generator →

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