#1E176A#1E176A

#1E176A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.136 H 276.8°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#1E176A
RGBrgb(30, 23, 106)
HSLhsl(245, 64%, 25%)
HSVhsv(245, 78%, 42%)
CMYKcmyk(71.7%, 78.3%, 0%, 58.4%)
CIE-LABlab(15.11, 31.33, -46.88)
CIE-LCHlch(15.11, 56.39, 303.76°)
OKLaboklab(28.18% 0.0162 -0.1355)
OKLCHoklch(28.18% 0.136 276.8)
XYZxyz(3.4425, 1.9291, 13.8238)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E176A #636A17
analogous
#173A6A #1E176A #47176A
triadic
#1E176A #6A1E17 #176A1E
tetradic
#1E176A #6A173A #636A17 #176A47
square
#1E176A #6A173A #636A17 #176A47
split-complementary
#1E176A #6A4717 #3A6A17
monochromatic
#070519 #100C38 #1E176A #2C229C #3A2DCF

Accessibility & contrast

On white

15.15
#1E176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E176A
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E176A#FFFFFF#000000##FFFFFF
##1E176A1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e176a;
/* rgb */ color: rgb(30, 23, 106);
/* oklch */ color: oklch(28.2% 0.136 276.8);
Tailwind
colors: {
  custom: {
    50: '#665596',
    500: '#1e176a',
    950: '#000000',
  },
}
SCSS
$custom: #1e176a;
$custom-light: #665596;
$custom-dark: #000000;
JSON
{
  "hex": "#1e176a",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 245.06,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28176,
    "c": 0.13642,
    "h": 276.8
  },
  "luminance": 0.01929
}

Semantic roles & 50–950 ramp

primary
#1E176A
secondary
#98A03D
accent
#E740D9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1E176A

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

Preview Lab → · Contrast checker → · Palette generator →

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