#1E177F#1E177F

#1E177F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.164 H 273.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#1E177F
RGBrgb(30, 23, 127)
HSLhsl(244, 69%, 29%)
HSVhsv(244, 82%, 50%)
CMYKcmyk(76.4%, 81.9%, 0%, 50.2%)
CIE-LABlab(17.56, 38.51, -56.39)
CIE-LCHlch(17.56, 68.29, 304.33°)
OKLaboklab(30.62% 0.011 -0.1631)
OKLCHoklch(30.62% 0.164 273.9)
XYZxyz(4.6713, 2.4206, 20.2956)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E177F #787F17
analogous
#17447F #1E177F #52177F
triadic
#1E177F #7F1E17 #177F1E
tetradic
#1E177F #7F1744 #787F17 #177F52
square
#1E177F #7F1744 #787F17 #177F52
split-complementary
#1E177F #7F5217 #447F17
monochromatic
#06051A #120E4B #1E177F #2A20B3 #4136DB

Accessibility & contrast

On white

14.15
#1E177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E177F
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E177F#FFFFFF#000000##FFFFFF
##1E177F1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e177f;
/* rgb */ color: rgb(30, 23, 127);
/* oklch */ color: oklch(30.6% 0.164 273.9);
Tailwind
colors: {
  custom: {
    50: '#6c57a5',
    500: '#1e177f',
    950: '#000000',
  },
}
SCSS
$custom: #1e177f;
$custom-light: #6c57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e177f",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 244.038,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30615,
    "c": 0.1635,
    "h": 273.9
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E177F

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

Preview Lab → · Contrast checker → · Palette generator →

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