#1E1B7D#1E1B7D

#1E1B7D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.157 H 273.5°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#1E1B7D
RGBrgb(30, 27, 125)
HSLhsl(242, 64%, 30%)
HSVhsv(242, 78%, 49%)
CMYKcmyk(76%, 78.4%, 0%, 51%)
CIE-LABlab(18.10, 35.60, -54.22)
CIE-LCHlch(18.10, 64.86, 303.29°)
OKLaboklab(30.93% 0.0097 -0.1569)
OKLCHoklch(30.93% 0.157 273.5)
XYZxyz(4.6278, 2.5401, 19.6445)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B7D #7A7D1B
analogous
#1B497D #1E1B7D #4F1B7D
triadic
#1E1B7D #7D1E1B #1B7D1E
tetradic
#1E1B7D #7D1B49 #7A7D1B #1B7D4F
square
#1E1B7D #7D1B49 #7A7D1B #1B7D4F
split-complementary
#1E1B7D #7D4F1B #497D1B
monochromatic
#060519 #12104B #1E1B7D #2A26AF #423DD5

Accessibility & contrast

On white

13.92
#1E1B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1E1B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B7D
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B7D#FFFFFF#000000##FFFFFF
##1E1B7D1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1b7d;
/* rgb */ color: rgb(30, 27, 125);
/* oklch */ color: oklch(30.9% 0.157 273.5);
Tailwind
colors: {
  custom: {
    50: '#6b59a4',
    500: '#1e1b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b7d;
$custom-light: #6b59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b7d",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 241.837,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.30927,
    "c": 0.15717,
    "h": 273.5
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#1E1B7D
secondary
#AEB143
accent
#E740E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E1B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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