#1E1174#1E1174

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

Color values

HEX#1E1174
RGBrgb(30, 17, 116)
HSLhsl(248, 74%, 26%)
HSVhsv(248, 85%, 45%)
CMYKcmyk(74.1%, 85.3%, 0%, 54.5%)
CIE-LABlab(15.16, 37.98, -53.32)
CIE-LCHlch(15.16, 65.46, 305.46°)
OKLaboklab(28.56% 0.0165 -0.1541)
OKLCHoklch(28.56% 0.155 276.1)
XYZxyz(3.8872, 1.9375, 16.6887)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1174 #677411
analogous
#113574 #1E1174 #4F1174
triadic
#1E1174 #741E11 #11741E
tetradic
#1E1174 #741135 #677411 #11744F
square
#1E1174 #741135 #677411 #11744F
split-complementary
#1E1174 #744F11 #357411
monochromatic
#07041B #10093F #1E1174 #2C19A9 #3A21DE

Accessibility & contrast

On white

15.13
#1E1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1174
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1174#FFFFFF#000000##FFFFFF
##1E11741.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1174;
/* rgb */ color: rgb(30, 17, 116);
/* oklch */ color: oklch(28.6% 0.155 276.1);
Tailwind
colors: {
  custom: {
    50: '#6a539d',
    500: '#1e1174',
    950: '#000000',
  },
}
SCSS
$custom: #1e1174;
$custom-light: #6a539d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1174",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 247.879,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28556,
    "c": 0.15498,
    "h": 276.1
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#1E1174
secondary
#9CAB36
accent
#F137D9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E1174

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

Preview Lab → · Contrast checker → · Palette generator →

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