#1E2895#1E2895

#1E2895 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.175 H 269.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#1E2895
RGBrgb(30, 40, 149)
HSLhsl(235, 66%, 35%)
HSVhsv(235, 80%, 58%)
CMYKcmyk(79.9%, 73.2%, 0%, 41.6%)
CIE-LABlab(23.55, 36.26, -60.25)
CIE-LCHlch(23.55, 70.32, 301.04°)
OKLaboklab(35.59% -0.0004 -0.1745)
OKLCHoklch(35.59% 0.175 269.9)
XYZxyz(6.7172, 3.9628, 28.8388)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2895 #958B1E
analogous
#1E6395 #1E2895 #501E95
triadic
#1E2895 #951E28 #28951E
tetradic
#1E2895 #951E63 #958B1E #1E9550
square
#1E2895 #951E63 #958B1E #1E9550
split-complementary
#1E2895 #95501E #63951E
monochromatic
#090D2F #141A62 #1E2895 #2836C8 #515DDC

Accessibility & contrast

On white

11.71
#1E2895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2895
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2895#FFFFFF#000000##FFFFFF
##1E28951.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2895;
/* rgb */ color: rgb(30, 40, 149);
/* oklch */ color: oklch(35.6% 0.175 269.9);
Tailwind
colors: {
  custom: {
    50: '#7063b5',
    500: '#1e2895',
    950: '#000000',
  },
}
SCSS
$custom: #1e2895;
$custom-light: #7063b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2895",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 234.958,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35592,
    "c": 0.17451,
    "h": 269.9
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#1E2895
secondary
#BFB650
accent
#DB3EE9
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2895

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

Preview Lab → · Contrast checker → · Palette generator →

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