#1E1374#1E1374

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

Color values

HEX#1E1374
RGBrgb(30, 19, 116)
HSLhsl(247, 72%, 26%)
HSVhsv(247, 84%, 45%)
CMYKcmyk(74.1%, 83.6%, 0%, 54.5%)
CIE-LABlab(15.50, 36.97, -52.75)
CIE-LCHlch(15.50, 64.41, 305.03°)
OKLaboklab(28.79% 0.0157 -0.1525)
OKLCHoklch(28.79% 0.153 275.9)
XYZxyz(3.9196, 2.0023, 16.6995)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1374 #697413
analogous
#133974 #1E1374 #4F1374
triadic
#1E1374 #741E13 #13741E
tetradic
#1E1374 #741339 #697413 #13744F
square
#1E1374 #741339 #697413 #13744F
split-complementary
#1E1374 #744F13 #397413
monochromatic
#07041A #100A3F #1E1374 #2C1CA9 #3B26DB

Accessibility & contrast

On white

14.99
#1E1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1374
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1374#FFFFFF#000000##FFFFFF
##1E13741.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1374;
/* rgb */ color: rgb(30, 19, 116);
/* oklch */ color: oklch(28.8% 0.153 275.9);
Tailwind
colors: {
  custom: {
    50: '#69549d',
    500: '#1e1374',
    950: '#000000',
  },
}
SCSS
$custom: #1e1374;
$custom-light: #69549d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1374",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 246.804,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28794,
    "c": 0.15328,
    "h": 275.9
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#1E1374
secondary
#9EAA38
accent
#EF39DA
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1374

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

Preview Lab → · Contrast checker → · Palette generator →

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