#1E1C7F#1E1C7F

#1E1C7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.159 H 273.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1E1C7F
RGBrgb(30, 28, 127)
HSLhsl(241, 64%, 30%)
HSVhsv(241, 78%, 50%)
CMYKcmyk(76.4%, 78%, 0%, 50.2%)
CIE-LABlab(18.53, 35.71, -54.78)
CIE-LCHlch(18.53, 65.39, 303.10°)
OKLaboklab(31.3% 0.0088 -0.1585)
OKLCHoklch(31.3% 0.159 273.2)
XYZxyz(4.7802, 2.6383, 20.3319)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C7F #7D7F1C
analogous
#1C4B7F #1E1C7F #4F1C7F
triadic
#1E1C7F #7F1E1C #1C7F1E
tetradic
#1E1C7F #7F1C4B #7D7F1C #1C7F4F
square
#1E1C7F #7F1C4B #7D7F1C #1C7F4F
split-complementary
#1E1C7F #7F4F1C #4B7F1C
monochromatic
#06061B #12114D #1E1C7F #2A27B1 #4340D5

Accessibility & contrast

On white

13.75
#1E1C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E1C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C7F
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C7F#FFFFFF#000000##FFFFFF
##1E1C7F1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1c7f;
/* rgb */ color: rgb(30, 28, 127);
/* oklch */ color: oklch(31.3% 0.159 273.2);
Tailwind
colors: {
  custom: {
    50: '#6b5aa5',
    500: '#1e1c7f',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c7f;
$custom-light: #6b5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c7f",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 241.212,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31301,
    "c": 0.15874,
    "h": 273.2
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#1E1C7F
secondary
#B0B344
accent
#E741E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #1E1C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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