#1E1273#1E1273

#1E1273 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.6% C 0.153 H 276.2°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#1E1273
RGBrgb(30, 18, 115)
HSLhsl(247, 73%, 26%)
HSVhsv(247, 84%, 45%)
CMYKcmyk(73.9%, 84.3%, 0%, 54.9%)
CIE-LABlab(15.20, 37.15, -52.59)
CIE-LCHlch(15.20, 64.39, 305.24°)
OKLaboklab(28.55% 0.0164 -0.152)
OKLCHoklch(28.55% 0.153 276.2)
XYZxyz(3.8452, 1.9461, 16.3893)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1273 #677312
analogous
#123673 #1E1273 #4E1273
triadic
#1E1273 #731E12 #12731E
tetradic
#1E1273 #731236 #677312 #12734E
square
#1E1273 #731236 #677312 #12734E
split-complementary
#1E1273 #734E12 #367312
monochromatic
#07041A #100A3E #1E1273 #2C1AA8 #3A23DD

Accessibility & contrast

On white

15.12
#1E1273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E1273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1273
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1273#FFFFFF#000000##FFFFFF
##1E12731.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1273;
/* rgb */ color: rgb(30, 18, 115);
/* oklch */ color: oklch(28.6% 0.153 276.2);
Tailwind
colors: {
  custom: {
    50: '#69539c',
    500: '#1e1273',
    950: '#000000',
  },
}
SCSS
$custom: #1e1273;
$custom-light: #69539c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1273",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 247.423,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28552,
    "c": 0.1529,
    "h": 276.2
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#1E1273
secondary
#9CAA37
accent
#F038D9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1273

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

Preview Lab → · Contrast checker → · Palette generator →

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