#1E176D#1E176D

#1E176D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.140 H 276.3°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#1E176D
RGBrgb(30, 23, 109)
HSLhsl(245, 65%, 26%)
HSVhsv(245, 79%, 43%)
CMYKcmyk(72.5%, 78.9%, 0%, 57.3%)
CIE-LABlab(15.45, 32.38, -48.29)
CIE-LCHlch(15.45, 58.14, 303.85°)
OKLaboklab(28.52% 0.0155 -0.1396)
OKLCHoklch(28.52% 0.14 276.3)
XYZxyz(3.6012, 1.9926, 14.6599)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E176D #666D17
analogous
#173B6D #1E176D #49176D
triadic
#1E176D #6D1E17 #176D1E
tetradic
#1E176D #6D173B #666D17 #176D49
square
#1E176D #6D173B #666D17 #176D49
split-complementary
#1E176D #6D4917 #3B6D17
monochromatic
#070519 #100C3A #1E176D #2C22A0 #3A2CD2

Accessibility & contrast

On white

15.02
#1E176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E176D
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E176D#FFFFFF#000000##FFFFFF
##1E176D1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00236B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e176d;
/* rgb */ color: rgb(30, 23, 109);
/* oklch */ color: oklch(28.5% 0.140 276.3);
Tailwind
colors: {
  custom: {
    50: '#675698',
    500: '#1e176d',
    950: '#000000',
  },
}
SCSS
$custom: #1e176d;
$custom-light: #675698;
$custom-dark: #000000;
JSON
{
  "hex": "#1e176d",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 244.884,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28515,
    "c": 0.14042,
    "h": 276.3
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#1E176D
secondary
#9BA33D
accent
#E840DA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E176D

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

Preview Lab → · Contrast checker → · Palette generator →

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