#1E177E#1E177E

#1E177E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.162 H 274.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#1E177E
RGBrgb(30, 23, 126)
HSLhsl(244, 69%, 29%)
HSVhsv(244, 82%, 49%)
CMYKcmyk(76.2%, 81.7%, 0%, 50.6%)
CIE-LABlab(17.44, 38.18, -55.95)
CIE-LCHlch(17.44, 67.74, 304.31°)
OKLaboklab(30.5% 0.0113 -0.1619)
OKLCHoklch(30.5% 0.162 274)
XYZxyz(4.6065, 2.3947, 19.9541)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E177E #777E17
analogous
#17447E #1E177E #52177E
triadic
#1E177E #7E1E17 #177E1E
tetradic
#1E177E #7E1744 #777E17 #177E52
square
#1E177E #7E1744 #777E17 #177E52
split-complementary
#1E177E #7E5217 #447E17
monochromatic
#06051A #120E4A #1E177E #2A20B2 #4035DA

Accessibility & contrast

On white

14.20
#1E177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E177E
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E177E#FFFFFF#000000##FFFFFF
##1E177E1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e177e;
/* rgb */ color: rgb(30, 23, 126);
/* oklch */ color: oklch(30.5% 0.162 274.0);
Tailwind
colors: {
  custom: {
    50: '#6c57a5',
    500: '#1e177e',
    950: '#000000',
  },
}
SCSS
$custom: #1e177e;
$custom-light: #6c57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e177e",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 244.078,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30496,
    "c": 0.16225,
    "h": 274
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E177E

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

Preview Lab → · Contrast checker → · Palette generator →

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