#1E1176#1E1176

#1E1176 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.157 H 275.8°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#1E1176
RGBrgb(30, 17, 118)
HSLhsl(248, 75%, 26%)
HSVhsv(248, 86%, 46%)
CMYKcmyk(74.6%, 85.6%, 0%, 53.7%)
CIE-LABlab(15.41, 38.62, -54.19)
CIE-LCHlch(15.41, 66.55, 305.47°)
OKLaboklab(28.8% 0.0159 -0.1566)
OKLCHoklch(28.8% 0.157 275.8)
XYZxyz(4.0048, 1.9845, 17.3080)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1176 #697611
analogous
#113776 #1E1176 #511176
triadic
#1E1176 #761E11 #11761E
tetradic
#1E1176 #761137 #697611 #117651
square
#1E1176 #761137 #697611 #117651
split-complementary
#1E1176 #765111 #377611
monochromatic
#07041B #100941 #1E1176 #2C19AB #3B22DF

Accessibility & contrast

On white

15.03
#1E1176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E1176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1176
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1176#FFFFFF#000000##FFFFFF
##1E11761.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002274
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1176;
/* rgb */ color: rgb(30, 17, 118);
/* oklch */ color: oklch(28.8% 0.157 275.8);
Tailwind
colors: {
  custom: {
    50: '#6a539f',
    500: '#1e1176',
    950: '#000000',
  },
}
SCSS
$custom: #1e1176;
$custom-light: #6a539f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1176",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 247.723,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28801,
    "c": 0.15744,
    "h": 275.8
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#1E1176
secondary
#9EAD36
accent
#F136D9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020F
muted
#7A787E

Preview Lab

Preview with #1E1176

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

Preview Lab → · Contrast checker → · Palette generator →

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