#1E2794#1E2794

#1E2794 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.174 H 270.1°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1E2794
RGBrgb(30, 39, 148)
HSLhsl(235, 66%, 35%)
HSVhsv(235, 80%, 58%)
CMYKcmyk(79.7%, 73.6%, 0%, 42%)
CIE-LABlab(23.22, 36.52, -60.18)
CIE-LCHlch(23.22, 70.39, 301.25°)
OKLaboklab(35.32% 0.0002 -0.1743)
OKLCHoklch(35.32% 0.174 270.1)
XYZxyz(6.6044, 3.8644, 28.4091)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2794 #948B1E
analogous
#1E6294 #1E2794 #501E94
triadic
#1E2794 #941E27 #27941E
tetradic
#1E2794 #941E62 #948B1E #1E9450
square
#1E2794 #941E62 #948B1E #1E9450
split-complementary
#1E2794 #94501E #62941E
monochromatic
#090C2E #141A61 #1E2794 #2834C7 #515BDC

Accessibility & contrast

On white

11.84
#1E2794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E2794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2794
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2794#FFFFFF#000000##FFFFFF
##1E27941.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2794;
/* rgb */ color: rgb(30, 39, 148);
/* oklch */ color: oklch(35.3% 0.174 270.1);
Tailwind
colors: {
  custom: {
    50: '#7062b5',
    500: '#1e2794',
    950: '#000000',
  },
}
SCSS
$custom: #1e2794;
$custom-light: #7062b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2794",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 235.424,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35324,
    "c": 0.1743,
    "h": 270.1
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#1E2794
secondary
#BFB64F
accent
#DC3FE9
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2794

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

Preview Lab → · Contrast checker → · Palette generator →

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