#1E1780#1E1780

#1E1780 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.165 H 273.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#1E1780
RGBrgb(30, 23, 128)
HSLhsl(244, 70%, 30%)
HSVhsv(244, 82%, 50%)
CMYKcmyk(76.6%, 82%, 0%, 49.8%)
CIE-LABlab(17.68, 38.84, -56.83)
CIE-LCHlch(17.68, 68.83, 304.35°)
OKLaboklab(30.73% 0.0107 -0.1644)
OKLCHoklch(30.73% 0.165 273.7)
XYZxyz(4.7368, 2.4468, 20.6405)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1780 #798017
analogous
#174580 #1E1780 #531780
triadic
#1E1780 #801E17 #17801E
tetradic
#1E1780 #801745 #798017 #178053
square
#1E1780 #801745 #798017 #178053
split-complementary
#1E1780 #805317 #458017
monochromatic
#06051A #120E4C #1E1780 #2A20B4 #4136DB

Accessibility & contrast

On white

14.10
#1E1780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1E1780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1780
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1780#FFFFFF#000000##FFFFFF
##1E17801.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e1780;
/* rgb */ color: rgb(30, 23, 128);
/* oklch */ color: oklch(30.7% 0.165 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c57a6',
    500: '#1e1780',
    950: '#000000',
  },
}
SCSS
$custom: #1e1780;
$custom-light: #6c57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1780",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 244,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30734,
    "c": 0.16474,
    "h": 273.7
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#1E1780
secondary
#ADB43E
accent
#EC3BE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E1780

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

Preview Lab → · Contrast checker → · Palette generator →

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