#1E1B73#1E1B73

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

Color values

HEX#1E1B73
RGBrgb(30, 27, 115)
HSLhsl(242, 62%, 28%)
HSVhsv(242, 77%, 45%)
CMYKcmyk(73.9%, 76.5%, 0%, 54.9%)
CIE-LABlab(16.98, 32.08, -49.66)
CIE-LCHlch(16.98, 59.12, 302.86°)
OKLaboklab(29.8% 0.0118 -0.1436)
OKLCHoklch(29.8% 0.144 274.7)
XYZxyz(4.0208, 2.2973, 16.4479)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B73 #70731B
analogous
#1B4473 #1E1B73 #4A1B73
triadic
#1E1B73 #731E1B #1B731E
tetradic
#1E1B73 #731B44 #70731B #1B734A
square
#1E1B73 #731B44 #70731B #1B734A
split-complementary
#1E1B73 #734A1B #44731B
monochromatic
#060619 #110F41 #1E1B73 #2B27A5 #3D38D0

Accessibility & contrast

On white

14.39
#1E1B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1B73
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B73#FFFFFF#000000##FFFFFF
##1E1B731.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1b73;
/* rgb */ color: rgb(30, 27, 115);
/* oklch */ color: oklch(29.8% 0.144 274.7);
Tailwind
colors: {
  custom: {
    50: '#68589c',
    500: '#1e1b73',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b73;
$custom-light: #68589c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b73",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 242.045,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29798,
    "c": 0.14408,
    "h": 274.7
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#1E1B73
secondary
#A4A842
accent
#E543E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1B73

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

Preview Lab → · Contrast checker → · Palette generator →

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