#1E1678#1E1678

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

Color values

HEX#1E1678
RGBrgb(30, 22, 120)
HSLhsl(245, 69%, 28%)
HSVhsv(245, 82%, 47%)
CMYKcmyk(75%, 81.7%, 0%, 52.9%)
CIE-LABlab(16.53, 36.71, -53.62)
CIE-LCHlch(16.53, 64.98, 304.40°)
OKLaboklab(29.65% 0.0132 -0.155)
OKLCHoklch(29.65% 0.156 274.9)
XYZxyz(4.2114, 2.2055, 17.9694)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1678 #707816
analogous
#163F78 #1E1678 #4F1678
triadic
#1E1678 #781E16 #16781E
tetradic
#1E1678 #78163F #707816 #16784F
square
#1E1678 #78163F #707816 #16784F
split-complementary
#1E1678 #784F16 #3F7816
monochromatic
#06051A #110D44 #1E1678 #2B1FAC #3D2FD9

Accessibility & contrast

On white

14.57
#1E1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1678
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1678#FFFFFF#000000##FFFFFF
##1E16781.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002476
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1678;
/* rgb */ color: rgb(30, 22, 120);
/* oklch */ color: oklch(29.7% 0.156 274.9);
Tailwind
colors: {
  custom: {
    50: '#6a56a0',
    500: '#1e1678',
    950: '#000000',
  },
}
SCSS
$custom: #1e1678;
$custom-light: #6a56a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1678",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 244.898,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29654,
    "c": 0.15561,
    "h": 274.9
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#1E1678
secondary
#A4AD3C
accent
#EC3CDD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E1678

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

Preview Lab → · Contrast checker → · Palette generator →

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