#1E1A4E#1E1A4E

#1E1A4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.092 H 281.2°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#1E1A4E
RGBrgb(30, 26, 78)
HSLhsl(245, 50%, 20%)
HSVhsv(245, 67%, 31%)
CMYKcmyk(61.5%, 66.7%, 0%, 69.4%)
CIE-LABlab(13.01, 19.13, -31.55)
CIE-LCHlch(13.01, 36.90, 301.23°)
OKLaboklab(25.8% 0.018 -0.0906)
OKLCHoklch(25.8% 0.092 281.2)
XYZxyz(2.2795, 1.5647, 7.3882)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A4E #4A4E1A
analogous
#1A304E #1E1A4E #381A4E
triadic
#1E1A4E #4E1E1A #1A4E1E
tetradic
#1E1A4E #4E1A30 #4A4E1A #1A4E38
square
#1E1A4E #4E1A30 #4A4E1A #1A4E38
split-complementary
#1E1A4E #4E381A #304E1A
monochromatic
#090817 #0C0B20 #1E1A4E #30297C #4139AA

Accessibility & contrast

On white

15.99
#1E1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1A4E
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A4E#FFFFFF#000000##FFFFFF
##1E1A4E1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#062731
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e1a4e;
/* rgb */ color: rgb(30, 26, 78);
/* oklch */ color: oklch(25.8% 0.092 281.2);
Tailwind
colors: {
  custom: {
    50: '#5f5680',
    500: '#1e1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a4e;
$custom-light: #5f5680;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a4e",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 244.615,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25801,
    "c": 0.09233,
    "h": 281.2
  },
  "luminance": 0.01565
}

Semantic roles & 50–950 ramp

primary
#1E1A4E
secondary
#7F8440
accent
#DA4ECF
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #1E1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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