#1E187D#1E187D

#1E187D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.160 H 274.0°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#1E187D
RGBrgb(30, 24, 125)
HSLhsl(244, 68%, 29%)
HSVhsv(244, 81%, 49%)
CMYKcmyk(76%, 80.8%, 0%, 51%)
CIE-LABlab(17.50, 37.30, -55.20)
CIE-LCHlch(17.50, 66.62, 304.05°)
OKLaboklab(30.51% 0.0111 -0.1597)
OKLCHoklch(30.51% 0.16 274)
XYZxyz(4.5625, 2.4095, 19.6227)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E187D #777D18
analogous
#18457D #1E187D #51187D
triadic
#1E187D #7D1E18 #187D1E
tetradic
#1E187D #7D1845 #777D18 #187D51
square
#1E187D #7D1845 #777D18 #187D51
split-complementary
#1E187D #7D5118 #457D18
monochromatic
#06051A #120E4A #1E187D #2A22B0 #4037D9

Accessibility & contrast

On white

14.17
#1E187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E187D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E187D#FFFFFF#000000##FFFFFF
##1E187D1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e187d;
/* rgb */ color: rgb(30, 24, 125);
/* oklch */ color: oklch(30.5% 0.160 274.0);
Tailwind
colors: {
  custom: {
    50: '#6b57a4',
    500: '#1e187d',
    950: '#000000',
  },
}
SCSS
$custom: #1e187d;
$custom-light: #6b57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e187d",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 243.564,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30509,
    "c": 0.16007,
    "h": 274
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#1E187D
secondary
#ABB23F
accent
#EB3DE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E187D

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

Preview Lab → · Contrast checker → · Palette generator →

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