#1E1895#1E1895

#1E1895 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.189 H 271.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1E1895
RGBrgb(30, 24, 149)
HSLhsl(243, 72%, 34%)
HSVhsv(243, 84%, 58%)
CMYKcmyk(79.9%, 83.9%, 0%, 41.6%)
CIE-LABlab(20.43, 45.15, -65.41)
CIE-LCHlch(20.43, 79.48, 304.61°)
OKLaboklab(33.4% 0.0051 -0.1893)
OKLCHoklch(33.4% 0.189 271.6)
XYZxyz(6.2850, 3.0985, 28.6948)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1895 #8F9518
analogous
#185195 #1E1895 #5D1895
triadic
#1E1895 #951E18 #18951E
tetradic
#1E1895 #951851 #8F9518 #18955D
square
#1E1895 #951851 #8F9518 #18955D
split-complementary
#1E1895 #955D18 #519518
monochromatic
#09072C #131060 #1E1895 #2920CA #4E46E1

Accessibility & contrast

On white

12.96
#1E1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1895
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1895#FFFFFF#000000##FFFFFF
##1E18951.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003798
Deuteranopia (green-blind)
#002B93
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e1895;
/* rgb */ color: rgb(30, 24, 149);
/* oklch */ color: oklch(33.4% 0.189 271.6);
Tailwind
colors: {
  custom: {
    50: '#7159b6',
    500: '#1e1895',
    950: '#000000',
  },
}
SCSS
$custom: #1e1895;
$custom-light: #7159b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1895",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 242.88,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33397,
    "c": 0.18935,
    "h": 271.6
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#1E1895
secondary
#BCC246
accent
#EF39E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1895

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

Preview Lab → · Contrast checker → · Palette generator →

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