#1E1380#1E1380

#1E1380 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.168 H 274.2°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#1E1380
RGBrgb(30, 19, 128)
HSLhsl(246, 74%, 29%)
HSVhsv(246, 85%, 50%)
CMYKcmyk(76.6%, 85.2%, 0%, 49.8%)
CIE-LABlab(16.99, 40.85, -57.97)
CIE-LCHlch(16.99, 70.92, 305.17°)
OKLaboklab(30.26% 0.0122 -0.1676)
OKLCHoklch(30.26% 0.168 274.2)
XYZxyz(4.6633, 2.2998, 20.6160)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1380 #758013
analogous
#133F80 #1E1380 #551380
triadic
#1E1380 #801E13 #13801E
tetradic
#1E1380 #80133F #758013 #138055
square
#1E1380 #80133F #758013 #138055
split-complementary
#1E1380 #805513 #3F8013
monochromatic
#06041B #120B4B #1E1380 #2A1BB5 #402DE0

Accessibility & contrast

On white

14.38
#1E1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1380
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1380#FFFFFF#000000##FFFFFF
##1E13801.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1380;
/* rgb */ color: rgb(30, 19, 128);
/* oklch */ color: oklch(30.3% 0.168 274.2);
Tailwind
colors: {
  custom: {
    50: '#6c55a6',
    500: '#1e1380',
    950: '#000000',
  },
}
SCSS
$custom: #1e1380;
$custom-light: #6c55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1380",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 246.055,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30257,
    "c": 0.16807,
    "h": 274.2
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#1E1380
secondary
#A9B539
accent
#F137DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E1380

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

Preview Lab → · Contrast checker → · Palette generator →

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