#1E154C#1E154C

#1E154C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.6% C 0.097 H 284.2°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#1E154C
RGBrgb(30, 21, 76)
HSLhsl(250, 57%, 19%)
HSVhsv(250, 72%, 30%)
CMYKcmyk(60.5%, 72.4%, 0%, 70.2%)
CIE-LABlab(11.51, 21.89, -32.62)
CIE-LCHlch(11.51, 39.28, 303.86°)
OKLaboklab(24.65% 0.0238 -0.0937)
OKLCHoklch(24.65% 0.097 284.2)
XYZxyz(2.1077, 1.3340, 6.9825)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E154C #434C15
analogous
#15284C #1E154C #3A154C
triadic
#1E154C #4C1E15 #154C1E
tetradic
#1E154C #4C1528 #434C15 #154C3A
square
#1E154C #4C1528 #434C15 #154C3A
split-complementary
#1E154C #4C3A15 #284C15
monochromatic
#090718 #0B081C #1E154C #31227C #442FAC

Accessibility & contrast

On white

16.58
#1E154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1E154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E154C
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E154C#FFFFFF#000000##FFFFFF
##1E154C1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#09232E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1e154c;
/* rgb */ color: rgb(30, 21, 76);
/* oklch */ color: oklch(24.6% 0.097 284.2);
Tailwind
colors: {
  custom: {
    50: '#60537f',
    500: '#1e154c',
    950: '#000000',
  },
}
SCSS
$custom: #1e154c;
$custom-light: #60537f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e154c",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 249.818,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24649,
    "c": 0.0967,
    "h": 284.2
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#1E154C
secondary
#788439
accent
#E048C7
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1E154C

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

Preview Lab → · Contrast checker → · Palette generator →

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