#1E177A#1E177A

#1E177A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.157 H 274.5°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#1E177A
RGBrgb(30, 23, 122)
HSLhsl(244, 68%, 28%)
HSVhsv(244, 81%, 48%)
CMYKcmyk(75.4%, 81.1%, 0%, 52.2%)
CIE-LABlab(16.96, 36.84, -54.19)
CIE-LCHlch(16.96, 65.53, 304.21°)
OKLaboklab(30.02% 0.0123 -0.1567)
OKLCHoklch(30.02% 0.157 274.5)
XYZxyz(4.3535, 2.2935, 18.6218)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E177A #737A17
analogous
#17417A #1E177A #4F177A
triadic
#1E177A #7A1E17 #177A1E
tetradic
#1E177A #7A1741 #737A17 #177A4F
square
#1E177A #7A1741 #737A17 #177A4F
split-complementary
#1E177A #7A4F17 #417A17
monochromatic
#06051A #110D47 #1E177A #2B21AD #3F33D9

Accessibility & contrast

On white

14.40
#1E177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E177A
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E177A#FFFFFF#000000##FFFFFF
##1E177A1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e177a;
/* rgb */ color: rgb(30, 23, 122);
/* oklch */ color: oklch(30.0% 0.157 274.5);
Tailwind
colors: {
  custom: {
    50: '#6b56a2',
    500: '#1e177a',
    950: '#000000',
  },
}
SCSS
$custom: #1e177a;
$custom-light: #6b56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e177a",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 244.242,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30022,
    "c": 0.15722,
    "h": 274.5
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#1E177A
secondary
#A7AF3E
accent
#EB3DDF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E177A

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

Preview Lab → · Contrast checker → · Palette generator →

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