#1E1260#1E1260

#1E1260 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.128 H 279.9°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#1E1260
RGBrgb(30, 18, 96)
HSLhsl(249, 68%, 22%)
HSVhsv(249, 81%, 38%)
CMYKcmyk(68.7%, 81.3%, 0%, 62.4%)
CIE-LABlab(12.94, 30.82, -43.85)
CIE-LCHlch(12.94, 53.59, 305.10°)
OKLaboklab(26.31% 0.022 -0.1266)
OKLCHoklch(26.31% 0.128 279.9)
XYZxyz(2.8624, 1.5529, 11.2130)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1260 #546012
analogous
#122D60 #1E1260 #451260
triadic
#1E1260 #601E12 #12601E
tetradic
#1E1260 #60122D #546012 #126045
square
#1E1260 #60122D #546012 #126045
split-complementary
#1E1260 #604512 #2D6012
monochromatic
#08051A #0E082C #1E1260 #2E1C94 #3E25C7

Accessibility & contrast

On white

16.02
#1E1260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E1260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1260
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1260#FFFFFF#000000##FFFFFF
##1E12601.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001E5F
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e1260;
/* rgb */ color: rgb(30, 18, 96);
/* oklch */ color: oklch(26.3% 0.128 279.9);
Tailwind
colors: {
  custom: {
    50: '#64528e',
    500: '#1e1260',
    950: '#000000',
  },
}
SCSS
$custom: #1e1260;
$custom-light: #64528e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1260",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 249.231,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26308,
    "c": 0.12847,
    "h": 279.9
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#1E1260
secondary
#899836
accent
#EB3DD0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E1260

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

Preview Lab → · Contrast checker → · Palette generator →

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