#1E1E7D#1E1E7D

#1E1E7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.154 H 273.1°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#1E1E7D
RGBrgb(30, 30, 125)
HSLhsl(240, 61%, 30%)
HSVhsv(240, 76%, 49%)
CMYKcmyk(76%, 76%, 0%, 51%)
CIE-LABlab(18.73, 33.81, -53.17)
CIE-LCHlch(18.73, 63.01, 302.45°)
OKLaboklab(31.38% 0.0082 -0.1538)
OKLCHoklch(31.38% 0.154 273.1)
XYZxyz(4.7001, 2.6848, 19.6686)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E7D #7D7D1E
analogous
#1E4D7D #1E1E7D #4D1E7D
triadic
#1E1E7D #7D1E1E #1E7D1E
tetradic
#1E1E7D #7D1E4D #7D7D1E #1E7D4D
square
#1E1E7D #7D1E4D #7D7D1E #1E7D4D
split-complementary
#1E1E7D #7D4D1E #4D7D1E
monochromatic
#06061A #12124C #1E1E7D #2A2AAE #4343D2

Accessibility & contrast

On white

13.66
#1E1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E7D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E7D#FFFFFF#000000##FFFFFF
##1E1E7D1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1e7d;
/* rgb */ color: rgb(30, 30, 125);
/* oklch */ color: oklch(31.4% 0.154 273.1);
Tailwind
colors: {
  custom: {
    50: '#6b5ba4',
    500: '#1e1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e7d;
$custom-light: #6b5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e7d",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31377,
    "c": 0.15406,
    "h": 273.1
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#1E1E7D
secondary
#B0B046
accent
#E443E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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