#1E1C8C#1E1C8C

#1E1C8C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.175 H 272.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#1E1C8C
RGBrgb(30, 28, 140)
HSLhsl(241, 67%, 33%)
HSVhsv(241, 80%, 55%)
CMYKcmyk(78.6%, 80%, 0%, 45.1%)
CIE-LABlab(20.04, 40.16, -60.47)
CIE-LCHlch(20.04, 72.59, 303.59°)
OKLaboklab(32.81% 0.006 -0.175)
OKLCHoklch(32.81% 0.175 272)
XYZxyz(5.6827, 2.9994, 25.0853)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C8C #8A8C1C
analogous
#1C528C #1E1C8C #561C8C
triadic
#1E1C8C #8C1E1C #1C8C1E
tetradic
#1E1C8C #8C1C52 #8A8C1C #1C8C56
square
#1E1C8C #8C1C52 #8A8C1C #1C8C56
split-complementary
#1E1C8C #8C561C #528C1C
monochromatic
#080826 #131259 #1E1C8C #2926BF #4B48DA

Accessibility & contrast

On white

13.13
#1E1C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E1C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C8C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C8C#FFFFFF#000000##FFFFFF
##1E1C8C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002B8A
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e1c8c;
/* rgb */ color: rgb(30, 28, 140);
/* oklch */ color: oklch(32.8% 0.175 272.0);
Tailwind
colors: {
  custom: {
    50: '#6f5baf',
    500: '#1e1c8c',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c8c;
$custom-light: #6f5baf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c8c",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 241.071,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32806,
    "c": 0.17513,
    "h": 272
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#1E1C8C
secondary
#BABC48
accent
#EA3EE7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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