#1E1E5D#1E1E5D

#1E1E5D is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.109 H 276.7°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#1E1E5D
RGBrgb(30, 30, 93)
HSLhsl(240, 51%, 24%)
HSVhsv(240, 68%, 36%)
CMYKcmyk(67.7%, 67.7%, 0%, 63.5%)
CIE-LABlab(15.46, 21.97, -37.71)
CIE-LCHlch(15.46, 43.65, 300.23°)
OKLaboklab(28.02% 0.0127 -0.1086)
OKLCHoklch(28.02% 0.109 276.7)
XYZxyz(2.9748, 1.9946, 10.5820)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E5D #5D5D1E
analogous
#1E3E5D #1E1E5D #3E1E5D
triadic
#1E1E5D #5D1E1E #1E5D1E
tetradic
#1E1E5D #5D1E3E #5D5D1E #1E5D3E
square
#1E1E5D #5D1E3E #5D5D1E #1E5D3E
split-complementary
#1E1E5D #5D3E1E #3E5D1E
monochromatic
#070717 #0F0F2F #1E1E5D #2D2D8B #3C3CBA

Accessibility & contrast

On white

15.01
#1E1E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E1E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E5D
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E5D#FFFFFF#000000##FFFFFF
##1E1E5D1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1e5d;
/* rgb */ color: rgb(30, 30, 93);
/* oklch */ color: oklch(28.0% 0.109 276.7);
Tailwind
colors: {
  custom: {
    50: '#625a8c',
    500: '#1e1e5d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e5d;
$custom-light: #625a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e5d",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 240,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28021,
    "c": 0.1094,
    "h": 276.7
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#1E1E5D
secondary
#929245
accent
#DB4DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E1E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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