#1E1A7D#1E1A7D

#1E1A7D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.158 H 273.7°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#1E1A7D
RGBrgb(30, 26, 125)
HSLhsl(242, 66%, 30%)
HSVhsv(242, 79%, 49%)
CMYKcmyk(76%, 79.2%, 0%, 51%)
CIE-LABlab(17.90, 36.18, -54.56)
CIE-LCHlch(17.90, 65.46, 303.55°)
OKLaboklab(30.78% 0.0102 -0.1578)
OKLCHoklch(30.78% 0.158 273.7)
XYZxyz(4.6053, 2.4950, 19.6369)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A7D #797D1A
analogous
#1A487D #1E1A7D #501A7D
triadic
#1E1A7D #7D1E1A #1A7D1E
tetradic
#1E1A7D #7D1A48 #797D1A #1A7D50
square
#1E1A7D #7D1A48 #797D1A #1A7D50
split-complementary
#1E1A7D #7D501A #487D1A
monochromatic
#060519 #120F4A #1E1A7D #2A25B0 #413BD6

Accessibility & contrast

On white

14.01
#1E1A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E1A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1A7D
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A7D#FFFFFF#000000##FFFFFF
##1E1A7D1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1a7d;
/* rgb */ color: rgb(30, 26, 125);
/* oklch */ color: oklch(30.8% 0.158 273.7);
Tailwind
colors: {
  custom: {
    50: '#6b58a4',
    500: '#1e1a7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a7d;
$custom-light: #6b58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a7d",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 242.424,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30784,
    "c": 0.15816,
    "h": 273.7
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#1E1A7D
secondary
#ADB142
accent
#E93FE2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E1A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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