#1E1777#1E1777

#1E1777 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.153 H 274.9°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#1E1777
RGBrgb(30, 23, 119)
HSLhsl(244, 68%, 28%)
HSVhsv(244, 81%, 47%)
CMYKcmyk(74.8%, 80.7%, 0%, 53.3%)
CIE-LABlab(16.60, 35.82, -52.85)
CIE-LCHlch(16.60, 63.85, 304.13°)
OKLaboklab(29.67% 0.013 -0.1529)
OKLCHoklch(29.67% 0.153 274.9)
XYZxyz(4.1705, 2.2203, 17.6580)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1777 #707717
analogous
#174077 #1E1777 #4E1777
triadic
#1E1777 #771E17 #17771E
tetradic
#1E1777 #771740 #707717 #17774E
square
#1E1777 #771740 #707717 #17774E
split-complementary
#1E1777 #774E17 #407717
monochromatic
#06051A #110D44 #1E1777 #2B21AA #3D31D7

Accessibility & contrast

On white

14.54
#1E1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E1777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1777
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1777#FFFFFF#000000##FFFFFF
##1E17771.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1777;
/* rgb */ color: rgb(30, 23, 119);
/* oklch */ color: oklch(29.7% 0.153 274.9);
Tailwind
colors: {
  custom: {
    50: '#6a569f',
    500: '#1e1777',
    950: '#000000',
  },
}
SCSS
$custom: #1e1777;
$custom-light: #6a569f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1777",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 244.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.2967,
    "c": 0.1534,
    "h": 274.9
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#1E1777
secondary
#A4AC3E
accent
#EA3DDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1E1777

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

Preview Lab → · Contrast checker → · Palette generator →

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