#1E2894#1E2894

#1E2894 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.173 H 269.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#1E2894
RGBrgb(30, 40, 148)
HSLhsl(235, 66%, 35%)
HSVhsv(235, 80%, 58%)
CMYKcmyk(79.7%, 73%, 0%, 42%)
CIE-LABlab(23.44, 35.89, -59.81)
CIE-LCHlch(23.44, 69.76, 300.97°)
OKLaboklab(35.48% -0.0002 -0.1732)
OKLCHoklch(35.48% 0.173 269.9)
XYZxyz(6.6377, 3.9310, 28.4202)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2894 #948A1E
analogous
#1E6394 #1E2894 #4F1E94
triadic
#1E2894 #941E28 #28941E
tetradic
#1E2894 #941E63 #948A1E #1E944F
square
#1E2894 #941E63 #948A1E #1E944F
split-complementary
#1E2894 #944F1E #63941E
monochromatic
#090C2E #141A61 #1E2894 #2836C7 #515DDC

Accessibility & contrast

On white

11.76
#1E2894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1E2894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2894
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2894#FFFFFF#000000##FFFFFF
##1E28941.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2894;
/* rgb */ color: rgb(30, 40, 148);
/* oklch */ color: oklch(35.5% 0.173 269.9);
Tailwind
colors: {
  custom: {
    50: '#7063b5',
    500: '#1e2894',
    950: '#000000',
  },
}
SCSS
$custom: #1e2894;
$custom-light: #7063b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2894",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 234.915,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35484,
    "c": 0.17323,
    "h": 269.9
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#1E2894
secondary
#BFB54F
accent
#DB3FE9
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2894

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

Preview Lab → · Contrast checker → · Palette generator →

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