#1E1272#1E1272

#1E1272 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.152 H 276.3°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#1E1272
RGBrgb(30, 18, 114)
HSLhsl(248, 73%, 26%)
HSVhsv(248, 84%, 45%)
CMYKcmyk(73.7%, 84.2%, 0%, 55.3%)
CIE-LABlab(15.08, 36.83, -52.15)
CIE-LCHlch(15.08, 63.84, 305.23°)
OKLaboklab(28.43% 0.0167 -0.1507)
OKLCHoklch(28.43% 0.152 276.3)
XYZxyz(3.7880, 1.9232, 16.0879)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1272 #667212
analogous
#123672 #1E1272 #4E1272
triadic
#1E1272 #721E12 #12721E
tetradic
#1E1272 #721236 #667212 #12724E
square
#1E1272 #721236 #667212 #12724E
split-complementary
#1E1272 #724E12 #367212
monochromatic
#07041A #100A3D #1E1272 #2C1AA7 #3A23DC

Accessibility & contrast

On white

15.16
#1E1272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1E1272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1272
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1272#FFFFFF#000000##FFFFFF
##1E12721.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1272;
/* rgb */ color: rgb(30, 18, 114);
/* oklch */ color: oklch(28.4% 0.152 276.3);
Tailwind
colors: {
  custom: {
    50: '#69539c',
    500: '#1e1272',
    950: '#000000',
  },
}
SCSS
$custom: #1e1272;
$custom-light: #69539c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1272",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 247.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28431,
    "c": 0.15165,
    "h": 276.3
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#1E1272
secondary
#9BA937
accent
#EF38D9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E1272

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

Preview Lab → · Contrast checker → · Palette generator →

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