#1E1B4E#1E1B4E

#1E1B4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.091 H 280.7°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#1E1B4E
RGBrgb(30, 27, 78)
HSLhsl(244, 49%, 21%)
HSVhsv(244, 65%, 31%)
CMYKcmyk(61.5%, 65.4%, 0%, 69.4%)
CIE-LABlab(13.29, 18.42, -31.10)
CIE-LCHlch(13.29, 36.15, 300.63°)
OKLaboklab(26% 0.0168 -0.0892)
OKLCHoklch(26% 0.091 280.7)
XYZxyz(2.3021, 1.6098, 7.3957)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B4E #4B4E1B
analogous
#1B314E #1E1B4E #371B4E
triadic
#1E1B4E #4E1E1B #1B4E1E
tetradic
#1E1B4E #4E1B31 #4B4E1B #1B4E37
square
#1E1B4E #4E1B31 #4B4E1B #1B4E37
split-complementary
#1E1B4E #4E371B #314E1B
monochromatic
#090817 #0D0B21 #1E1B4E #2F2B7B #413AA9

Accessibility & contrast

On white

15.89
#1E1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1E1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B4E
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B4E#FFFFFF#000000##FFFFFF
##1E1B4E1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#062731
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e1b4e;
/* rgb */ color: rgb(30, 27, 78);
/* oklch */ color: oklch(26.0% 0.091 280.7);
Tailwind
colors: {
  custom: {
    50: '#5f5780',
    500: '#1e1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b4e;
$custom-light: #5f5780;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b4e",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 243.529,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26004,
    "c": 0.09081,
    "h": 280.7
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#1E1B4E
secondary
#808441
accent
#D850D0
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #1E1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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