#1E2793#1E2793

#1E2793 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.173 H 270.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#1E2793
RGBrgb(30, 39, 147)
HSLhsl(235, 66%, 35%)
HSVhsv(235, 80%, 58%)
CMYKcmyk(79.6%, 73.5%, 0%, 42.4%)
CIE-LABlab(23.11, 36.16, -59.74)
CIE-LCHlch(23.11, 69.83, 301.18°)
OKLaboklab(35.22% 0.0004 -0.173)
OKLCHoklch(35.22% 0.173 270.1)
XYZxyz(6.5256, 3.8329, 27.9940)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2793 #938A1E
analogous
#1E6193 #1E2793 #501E93
triadic
#1E2793 #931E27 #27931E
tetradic
#1E2793 #931E61 #938A1E #1E9350
square
#1E2793 #931E61 #938A1E #1E9350
split-complementary
#1E2793 #93501E #61931E
monochromatic
#090C2D #141A60 #1E2793 #2834C6 #505BDB

Accessibility & contrast

On white

11.89
#1E2793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2793
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2793#FFFFFF#000000##FFFFFF
##1E27931.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2793;
/* rgb */ color: rgb(30, 39, 147);
/* oklch */ color: oklch(35.2% 0.173 270.1);
Tailwind
colors: {
  custom: {
    50: '#7062b4',
    500: '#1e2793',
    950: '#000000',
  },
}
SCSS
$custom: #1e2793;
$custom-light: #7062b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2793",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 235.385,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35215,
    "c": 0.17301,
    "h": 270.1
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2793

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

Preview Lab → · Contrast checker → · Palette generator →

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