#1E2795#1E2795

#1E2795 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.176 H 270.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1E2795
RGBrgb(30, 39, 149)
HSLhsl(235, 66%, 35%)
HSVhsv(235, 80%, 58%)
CMYKcmyk(79.9%, 73.8%, 0%, 41.6%)
CIE-LABlab(23.33, 36.87, -60.62)
CIE-LCHlch(23.33, 70.96, 301.31°)
OKLaboklab(35.43% 0.0001 -0.1756)
OKLCHoklch(35.43% 0.176 270)
XYZxyz(6.6839, 3.8962, 28.8277)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2795 #958C1E
analogous
#1E6395 #1E2795 #501E95
triadic
#1E2795 #951E27 #27951E
tetradic
#1E2795 #951E63 #958C1E #1E9550
square
#1E2795 #951E63 #958C1E #1E9550
split-complementary
#1E2795 #95501E #63951E
monochromatic
#090C2F #141A62 #1E2795 #2834C8 #515CDC

Accessibility & contrast

On white

11.80
#1E2795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E2795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2795
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2795#FFFFFF#000000##FFFFFF
##1E27951.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2795;
/* rgb */ color: rgb(30, 39, 149);
/* oklch */ color: oklch(35.4% 0.176 270.0);
Tailwind
colors: {
  custom: {
    50: '#7062b5',
    500: '#1e2795',
    950: '#000000',
  },
}
SCSS
$custom: #1e2795;
$custom-light: #7062b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2795",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 235.462,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35433,
    "c": 0.17558,
    "h": 270
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#1E2795
secondary
#BFB750
accent
#DC3EE9
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2795

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

Preview Lab → · Contrast checker → · Palette generator →

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