#1E1B59#1E1B59

#1E1B59 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.108 H 278.6°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#1E1B59
RGBrgb(30, 27, 89)
HSLhsl(243, 53%, 23%)
HSVhsv(243, 70%, 35%)
CMYKcmyk(66.3%, 69.7%, 0%, 65.1%)
CIE-LABlab(14.29, 22.55, -36.94)
CIE-LCHlch(14.29, 43.28, 301.40°)
OKLaboklab(27.05% 0.016 -0.1064)
OKLCHoklch(27.05% 0.108 278.6)
XYZxyz(2.7299, 1.7809, 9.6492)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B59 #56591B
analogous
#1B3759 #1E1B59 #3D1B59
triadic
#1E1B59 #591E1B #1B591E
tetradic
#1E1B59 #591B37 #56591B #1B593D
square
#1E1B59 #591B37 #56591B #1B593D
split-complementary
#1E1B59 #593D1B #37591B
monochromatic
#080717 #0E0D2A #1E1B59 #2E2988 #3E37B7

Accessibility & contrast

On white

15.48
#1E1B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1E1B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B59
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B59#FFFFFF#000000##FFFFFF
##1E1B591.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#002B37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e1b59;
/* rgb */ color: rgb(30, 27, 89);
/* oklch */ color: oklch(27.1% 0.108 278.6);
Tailwind
colors: {
  custom: {
    50: '#625789',
    500: '#1e1b59',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b59;
$custom-light: #625789;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b59",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 242.903,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27053,
    "c": 0.10759,
    "h": 278.6
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#1E1B59
secondary
#8B8F41
accent
#DD4BD6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030B
muted
#7A787C

Preview Lab

Preview with #1E1B59

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

Preview Lab → · Contrast checker → · Palette generator →

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