#1E1A74#1E1A74

#1E1A74 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.146 H 274.8°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1E1A74
RGBrgb(30, 26, 116)
HSLhsl(243, 63%, 28%)
HSVhsv(243, 78%, 45%)
CMYKcmyk(74.1%, 77.6%, 0%, 54.5%)
CIE-LABlab(16.87, 33.04, -50.48)
CIE-LCHlch(16.87, 60.33, 303.21°)
OKLaboklab(29.76% 0.0122 -0.146)
OKLCHoklch(29.76% 0.146 274.8)
XYZxyz(4.0562, 2.2754, 16.7450)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A74 #70741A
analogous
#1A4374 #1E1A74 #4B1A74
triadic
#1E1A74 #741E1A #1A741E
tetradic
#1E1A74 #741A43 #70741A #1A744B
square
#1E1A74 #741A43 #70741A #1A744B
split-complementary
#1E1A74 #744B1A #43741A
monochromatic
#060619 #110F42 #1E1A74 #2B25A6 #3D36D2

Accessibility & contrast

On white

14.43
#1E1A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E1A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1A74
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A74#FFFFFF#000000##FFFFFF
##1E1A741.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1a74;
/* rgb */ color: rgb(30, 26, 116);
/* oklch */ color: oklch(29.8% 0.146 274.8);
Tailwind
colors: {
  custom: {
    50: '#69589d',
    500: '#1e1a74',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a74;
$custom-light: #69589d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a74",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 242.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29756,
    "c": 0.14648,
    "h": 274.8
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#1E1A74
secondary
#A4A941
accent
#E641DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1A74

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

Preview Lab → · Contrast checker → · Palette generator →

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