#1E1E76#1E1E76

#1E1E76 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.145 H 273.8°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#1E1E76
RGBrgb(30, 30, 118)
HSLhsl(240, 59%, 29%)
HSVhsv(240, 75%, 46%)
CMYKcmyk(74.6%, 74.6%, 0%, 53.7%)
CIE-LABlab(17.97, 31.29, -49.95)
CIE-LCHlch(17.97, 58.94, 302.06°)
OKLaboklab(30.61% 0.0095 -0.1444)
OKLCHoklch(30.61% 0.145 273.8)
XYZxyz(4.2686, 2.5122, 17.3960)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E76 #76761E
analogous
#1E4A76 #1E1E76 #4A1E76
triadic
#1E1E76 #761E1E #1E761E
tetradic
#1E1E76 #761E4A #76761E #1E764A
square
#1E1E76 #761E4A #76761E #1E764A
split-complementary
#1E1E76 #764A1E #4A761E
monochromatic
#060618 #121245 #1E1E76 #2A2AA7 #4040CE

Accessibility & contrast

On white

13.98
#1E1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E76
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E76#FFFFFF#000000##FFFFFF
##1E1E761.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1e76;
/* rgb */ color: rgb(30, 30, 118);
/* oklch */ color: oklch(30.6% 0.145 273.8);
Tailwind
colors: {
  custom: {
    50: '#695b9e',
    500: '#1e1e76',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e76;
$custom-light: #695b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e76",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30607,
    "c": 0.14476,
    "h": 273.8
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#1E1E76
secondary
#AAAA46
accent
#E345E3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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