#1E1B74#1E1B74

#1E1B74 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.145 H 274.6°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#1E1B74
RGBrgb(30, 27, 116)
HSLhsl(242, 62%, 28%)
HSVhsv(242, 77%, 45%)
CMYKcmyk(74.1%, 76.7%, 0%, 54.5%)
CIE-LABlab(17.09, 32.44, -50.12)
CIE-LCHlch(17.09, 59.71, 302.91°)
OKLaboklab(29.91% 0.0116 -0.1449)
OKLCHoklch(29.91% 0.145 274.6)
XYZxyz(4.0787, 2.3204, 16.7526)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B74 #71741B
analogous
#1B4574 #1E1B74 #4A1B74
triadic
#1E1B74 #741E1B #1B741E
tetradic
#1E1B74 #741B45 #71741B #1B744A
square
#1E1B74 #741B45 #71741B #1B744A
split-complementary
#1E1B74 #744A1B #45741B
monochromatic
#060619 #110F42 #1E1B74 #2B27A6 #3E39D1

Accessibility & contrast

On white

14.34
#1E1B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1B74
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B74#FFFFFF#000000##FFFFFF
##1E1B741.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1b74;
/* rgb */ color: rgb(30, 27, 116);
/* oklch */ color: oklch(29.9% 0.145 274.6);
Tailwind
colors: {
  custom: {
    50: '#69599d',
    500: '#1e1b74',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b74;
$custom-light: #69599d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b74",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 242.022,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29909,
    "c": 0.14541,
    "h": 274.6
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#1E1B74
secondary
#A5A942
accent
#E542E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1B74

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

Preview Lab → · Contrast checker → · Palette generator →

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