#1E174F#1E174F

#1E174F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.098 H 282.5°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#1E174F
RGBrgb(30, 23, 79)
HSLhsl(248, 55%, 20%)
HSVhsv(248, 71%, 31%)
CMYKcmyk(62%, 70.9%, 0%, 69%)
CIE-LABlab(12.31, 21.61, -33.39)
CIE-LCHlch(12.31, 39.77, 302.91°)
OKLaboklab(25.31% 0.0212 -0.096)
OKLCHoklch(25.31% 0.098 282.5)
XYZxyz(2.2527, 1.4532, 7.5574)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E174F #484F17
analogous
#172C4F #1E174F #3A174F
triadic
#1E174F #4F1E17 #174F1E
tetradic
#1E174F #4F172C #484F17 #174F3A
square
#1E174F #4F172C #484F17 #174F3A
split-complementary
#1E174F #4F3A17 #2C4F17
monochromatic
#090718 #0C0920 #1E174F #30257E #4233AE

Accessibility & contrast

On white

16.27
#1E174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1E174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E174F
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E174F#FFFFFF#000000##FFFFFF
##1E174F1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#052530
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1e174f;
/* rgb */ color: rgb(30, 23, 79);
/* oklch */ color: oklch(25.3% 0.098 282.5);
Tailwind
colors: {
  custom: {
    50: '#605481',
    500: '#1e174f',
    950: '#000000',
  },
}
SCSS
$custom: #1e174f;
$custom-light: #605481;
$custom-dark: #000000;
JSON
{
  "hex": "#1e174f",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 247.5,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.25314,
    "c": 0.0983,
    "h": 282.5
  },
  "luminance": 0.01453
}

Semantic roles & 50–950 ramp

primary
#1E174F
secondary
#7D863C
accent
#DE4ACC
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1E174F

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

Preview Lab → · Contrast checker → · Palette generator →

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