#1E1E72#1E1E72

#1E1E72 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.139 H 274.2°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#1E1E72
RGBrgb(30, 30, 114)
HSLhsl(240, 58%, 28%)
HSVhsv(240, 74%, 45%)
CMYKcmyk(73.7%, 73.7%, 0%, 55.3%)
CIE-LABlab(17.55, 29.83, -48.07)
CIE-LCHlch(17.55, 56.57, 301.82°)
OKLaboklab(30.17% 0.0101 -0.139)
OKLCHoklch(30.17% 0.139 274.2)
XYZxyz(4.0359, 2.4191, 16.1706)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E72 #72721E
analogous
#1E4872 #1E1E72 #481E72
triadic
#1E1E72 #721E1E #1E721E
tetradic
#1E1E72 #721E48 #72721E #1E7248
square
#1E1E72 #721E48 #72721E #1E7248
split-complementary
#1E1E72 #72481E #48721E
monochromatic
#060618 #111142 #1E1E72 #2B2BA2 #3E3ECC

Accessibility & contrast

On white

14.15
#1E1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1E1E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E72
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E72#FFFFFF#000000##FFFFFF
##1E1E721.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002770
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e1e72;
/* rgb */ color: rgb(30, 30, 114);
/* oklch */ color: oklch(30.2% 0.139 274.2);
Tailwind
colors: {
  custom: {
    50: '#685a9b',
    500: '#1e1e72',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e72;
$custom-light: #685a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e72",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 240,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30174,
    "c": 0.13934,
    "h": 274.2
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#1E1E72
secondary
#A6A646
accent
#E246E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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