#1E154B#1E154B

#1E154B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.095 H 284.6°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#1E154B
RGBrgb(30, 21, 75)
HSLhsl(250, 56%, 19%)
HSVhsv(250, 72%, 29%)
CMYKcmyk(60%, 72%, 0%, 70.6%)
CIE-LABlab(11.42, 21.53, -32.08)
CIE-LCHlch(11.42, 38.64, 303.86°)
OKLaboklab(24.55% 0.0239 -0.0921)
OKLCHoklch(24.55% 0.095 284.6)
XYZxyz(2.0732, 1.3202, 6.8008)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E154B #424B15
analogous
#15274B #1E154B #39154B
triadic
#1E154B #4B1E15 #154B1E
tetradic
#1E154B #4B1527 #424B15 #154B39
square
#1E154B #4B1527 #424B15 #154B39
split-complementary
#1E154B #4B3915 #274B15
monochromatic
#0A0718 #0B081B #1E154B #31227B #4430AB

Accessibility & contrast

On white

16.61
#1E154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1E154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E154B
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E154B#FFFFFF#000000##FFFFFF
##1E154B1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#0A222D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1e154b;
/* rgb */ color: rgb(30, 21, 75);
/* oklch */ color: oklch(24.6% 0.095 284.6);
Tailwind
colors: {
  custom: {
    50: '#5f537e',
    500: '#1e154b',
    950: '#000000',
  },
}
SCSS
$custom: #1e154b;
$custom-light: #5f537e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e154b",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 250,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2455,
    "c": 0.0952,
    "h": 284.6
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#1E154B
secondary
#778339
accent
#E048C6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1E154B

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

Preview Lab → · Contrast checker → · Palette generator →

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