#1E1B77#1E1B77

#1E1B77 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.149 H 274.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#1E1B77
RGBrgb(30, 27, 119)
HSLhsl(242, 63%, 29%)
HSVhsv(242, 77%, 47%)
CMYKcmyk(74.8%, 77.3%, 0%, 53.3%)
CIE-LABlab(17.42, 33.50, -51.50)
CIE-LCHlch(17.42, 61.44, 303.04°)
OKLaboklab(30.25% 0.011 -0.149)
OKLCHoklch(30.25% 0.149 274.2)
XYZxyz(4.2560, 2.3914, 17.6865)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B77 #74771B
analogous
#1B4677 #1E1B77 #4C1B77
triadic
#1E1B77 #771E1B #1B771E
tetradic
#1E1B77 #771B46 #74771B #1B774C
square
#1E1B77 #771B46 #74771B #1B774C
split-complementary
#1E1B77 #774C1B #46771B
monochromatic
#060619 #111045 #1E1B77 #2B26A9 #3F3AD2

Accessibility & contrast

On white

14.20
#1E1B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1E1B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B77
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B77#FFFFFF#000000##FFFFFF
##1E1B771.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7A
Deuteranopia (green-blind)
#002675
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e1b77;
/* rgb */ color: rgb(30, 27, 119);
/* oklch */ color: oklch(30.2% 0.149 274.2);
Tailwind
colors: {
  custom: {
    50: '#69599f',
    500: '#1e1b77',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b77;
$custom-light: #69599f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b77",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 241.957,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30245,
    "c": 0.14937,
    "h": 274.2
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#1E1B77
secondary
#A8AB42
accent
#E642E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1E1B77

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

Preview Lab → · Contrast checker → · Palette generator →

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