#1E1A72#1E1A72

#1E1A72 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.144 H 275.0°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#1E1A72
RGBrgb(30, 26, 114)
HSLhsl(243, 63%, 27%)
HSVhsv(243, 77%, 45%)
CMYKcmyk(73.7%, 77.2%, 0%, 55.3%)
CIE-LABlab(16.65, 32.34, -49.56)
CIE-LCHlch(16.65, 59.17, 303.13°)
OKLaboklab(29.53% 0.0126 -0.1433)
OKLCHoklch(29.53% 0.144 275)
XYZxyz(3.9411, 2.2293, 16.1389)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A72 #6E721A
analogous
#1A4272 #1E1A72 #4A1A72
triadic
#1E1A72 #721E1A #1A721E
tetradic
#1E1A72 #721A42 #6E721A #1A724A
square
#1E1A72 #721A42 #6E721A #1A724A
split-complementary
#1E1A72 #724A1A #42721A
monochromatic
#070619 #110F40 #1E1A72 #2B25A4 #3C35D1

Accessibility & contrast

On white

14.52
#1E1A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E1A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1A72
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A72#FFFFFF#000000##FFFFFF
##1E1A721.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1a72;
/* rgb */ color: rgb(30, 26, 114);
/* oklch */ color: oklch(29.5% 0.144 275.0);
Tailwind
colors: {
  custom: {
    50: '#68589c',
    500: '#1e1a72',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a72;
$custom-light: #68589c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a72",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 242.727,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29531,
    "c": 0.14383,
    "h": 275
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#1E1A72
secondary
#A2A741
accent
#E642DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1A72

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

Preview Lab → · Contrast checker → · Palette generator →

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