#1E177D#1E177D

#1E177D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.161 H 274.1°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#1E177D
RGBrgb(30, 23, 125)
HSLhsl(244, 69%, 29%)
HSVhsv(244, 82%, 49%)
CMYKcmyk(76%, 81.6%, 0%, 51%)
CIE-LABlab(17.32, 37.85, -55.52)
CIE-LCHlch(17.32, 67.19, 304.28°)
OKLaboklab(30.38% 0.0115 -0.1606)
OKLCHoklch(30.38% 0.161 274.1)
XYZxyz(4.5423, 2.3690, 19.6159)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E177D #767D17
analogous
#17437D #1E177D #51177D
triadic
#1E177D #7D1E17 #177D1E
tetradic
#1E177D #7D1743 #767D17 #177D51
square
#1E177D #7D1743 #767D17 #177D51
split-complementary
#1E177D #7D5117 #437D17
monochromatic
#06051A #120D49 #1E177D #2A21B1 #4035DA

Accessibility & contrast

On white

14.25
#1E177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E177D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E177D#FFFFFF#000000##FFFFFF
##1E177D1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e177d;
/* rgb */ color: rgb(30, 23, 125);
/* oklch */ color: oklch(30.4% 0.161 274.1);
Tailwind
colors: {
  custom: {
    50: '#6b57a4',
    500: '#1e177d',
    950: '#000000',
  },
}
SCSS
$custom: #1e177d;
$custom-light: #6b57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e177d",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 244.118,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30377,
    "c": 0.161,
    "h": 274.1
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#1E177D
secondary
#AAB23E
accent
#EC3CE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E177D

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

Preview Lab → · Contrast checker → · Palette generator →

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