#1E178E#1E178E

#1E178E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.182 H 272.3°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#1E178E
RGBrgb(30, 23, 142)
HSLhsl(244, 72%, 32%)
HSVhsv(244, 84%, 56%)
CMYKcmyk(78.9%, 83.8%, 0%, 44.3%)
CIE-LABlab(19.40, 43.40, -62.78)
CIE-LCHlch(19.40, 76.33, 304.65°)
OKLaboklab(32.43% 0.0072 -0.1817)
OKLCHoklch(32.43% 0.182 272.3)
XYZxyz(5.7227, 2.8412, 25.8327)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E178E #878E17
analogous
#174C8E #1E178E #59178E
triadic
#1E178E #8E1E17 #178E1E
tetradic
#1E178E #8E174C #878E17 #178E59
square
#1E178E #8E174C #878E17 #178E59
split-complementary
#1E178E #8E5917 #4C8E17
monochromatic
#080625 #130E59 #1E178E #2920C3 #493FE0

Accessibility & contrast

On white

13.39
#1E178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E178E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E178E#FFFFFF#000000##FFFFFF
##1E178E1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e178e;
/* rgb */ color: rgb(30, 23, 142);
/* oklch */ color: oklch(32.4% 0.182 272.3);
Tailwind
colors: {
  custom: {
    50: '#7058b0',
    500: '#1e178e',
    950: '#000000',
  },
}
SCSS
$custom: #1e178e;
$custom-light: #7058b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e178e",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 243.529,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32427,
    "c": 0.1818,
    "h": 272.3
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E178E

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

Preview Lab → · Contrast checker → · Palette generator →

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