#1E1978#1E1978

#1E1978 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.153 H 274.4°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#1E1978
RGBrgb(30, 25, 120)
HSLhsl(243, 66%, 28%)
HSVhsv(243, 79%, 47%)
CMYKcmyk(75%, 79.2%, 0%, 52.9%)
CIE-LABlab(17.12, 35.03, -52.65)
CIE-LCHlch(17.12, 63.24, 303.64°)
OKLaboklab(30.07% 0.0118 -0.1523)
OKLCHoklch(30.07% 0.153 274.4)
XYZxyz(4.2721, 2.3269, 17.9897)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1978 #737819
analogous
#194378 #1E1978 #4D1978
triadic
#1E1978 #781E19 #19781E
tetradic
#1E1978 #781943 #737819 #19784D
square
#1E1978 #781943 #737819 #19784D
split-complementary
#1E1978 #784D19 #437819
monochromatic
#060519 #110E45 #1E1978 #2B24AB #3F36D5

Accessibility & contrast

On white

14.33
#1E1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E1978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1978
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1978#FFFFFF#000000##FFFFFF
##1E19781.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1978;
/* rgb */ color: rgb(30, 25, 120);
/* oklch */ color: oklch(30.1% 0.153 274.4);
Tailwind
colors: {
  custom: {
    50: '#6a57a0',
    500: '#1e1978',
    950: '#000000',
  },
}
SCSS
$custom: #1e1978;
$custom-light: #6a57a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1978",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 243.158,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30065,
    "c": 0.15273,
    "h": 274.4
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#1E1978
secondary
#A7AD40
accent
#E83FE0
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1E1978

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

Preview Lab → · Contrast checker → · Palette generator →

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