#1E1C71#1E1C71

#1E1C71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.140 H 274.7°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#1E1C71
RGBrgb(30, 28, 113)
HSLhsl(241, 60%, 28%)
HSVhsv(241, 75%, 44%)
CMYKcmyk(73.5%, 75.2%, 0%, 55.7%)
CIE-LABlab(16.98, 30.74, -48.36)
CIE-LCHlch(16.98, 57.30, 302.44°)
OKLaboklab(29.74% 0.0116 -0.1398)
OKLCHoklch(29.74% 0.14 274.7)
XYZxyz(3.9303, 2.2984, 15.8561)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C71 #6F711C
analogous
#1C4471 #1E1C71 #491C71
triadic
#1E1C71 #711E1C #1C711E
tetradic
#1E1C71 #711C44 #6F711C #1C7149
square
#1E1C71 #711C44 #6F711C #1C7149
split-complementary
#1E1C71 #71491C #44711C
monochromatic
#070619 #111040 #1E1C71 #2B28A2 #3D39CE

Accessibility & contrast

On white

14.39
#1E1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E1C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C71
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C71#FFFFFF#000000##FFFFFF
##1E1C711.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1c71;
/* rgb */ color: rgb(30, 28, 113);
/* oklch */ color: oklch(29.7% 0.140 274.7);
Tailwind
colors: {
  custom: {
    50: '#68599b',
    500: '#1e1c71',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c71;
$custom-light: #68599b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c71",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 241.412,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29736,
    "c": 0.14028,
    "h": 274.7
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#1E1C71
secondary
#A3A643
accent
#E344E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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