#1E178D#1E178D

#1E178D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.181 H 272.4°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#1E178D
RGBrgb(30, 23, 141)
HSLhsl(244, 72%, 32%)
HSVhsv(244, 84%, 55%)
CMYKcmyk(78.7%, 83.7%, 0%, 44.7%)
CIE-LABlab(19.27, 43.08, -62.37)
CIE-LCHlch(19.27, 75.80, 304.63°)
OKLaboklab(32.31% 0.0074 -0.1804)
OKLCHoklch(32.31% 0.181 272.4)
XYZxyz(5.6479, 2.8113, 25.4391)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E178D #868D17
analogous
#174B8D #1E178D #59178D
triadic
#1E178D #8D1E17 #178D1E
tetradic
#1E178D #8D174B #868D17 #178D59
square
#1E178D #8D174B #868D17 #178D59
split-complementary
#1E178D #8D5917 #4B8D17
monochromatic
#080624 #130E58 #1E178D #2920C2 #483FE0

Accessibility & contrast

On white

13.44
#1E178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1E178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E178D
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E178D#FFFFFF#000000##FFFFFF
##1E178D1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00298B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e178d;
/* rgb */ color: rgb(30, 23, 141);
/* oklch */ color: oklch(32.3% 0.181 272.4);
Tailwind
colors: {
  custom: {
    50: '#6f58b0',
    500: '#1e178d',
    950: '#000000',
  },
}
SCSS
$custom: #1e178d;
$custom-light: #6f58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e178d",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 243.559,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32305,
    "c": 0.1806,
    "h": 272.4
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#1E178D
secondary
#B8C040
accent
#EF39E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E178D

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

Preview Lab → · Contrast checker → · Palette generator →

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