#1E187A#1E187A

#1E187A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.156 H 274.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#1E187A
RGBrgb(30, 24, 122)
HSLhsl(244, 67%, 29%)
HSVhsv(244, 80%, 48%)
CMYKcmyk(75.4%, 80.3%, 0%, 52.2%)
CIE-LABlab(17.15, 36.28, -53.87)
CIE-LCHlch(17.15, 64.95, 303.96°)
OKLaboklab(30.16% 0.0118 -0.1558)
OKLCHoklch(30.16% 0.156 274.3)
XYZxyz(4.3737, 2.3340, 18.6286)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E187A #747A18
analogous
#18437A #1E187A #4F187A
triadic
#1E187A #7A1E18 #187A1E
tetradic
#1E187A #7A1843 #747A18 #187A4F
square
#1E187A #7A1843 #747A18 #187A4F
split-complementary
#1E187A #7A4F18 #437A18
monochromatic
#06051A #110E47 #1E187A #2B22AD #3F35D7

Accessibility & contrast

On white

14.32
#1E187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E187A
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E187A#FFFFFF#000000##FFFFFF
##1E187A1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002678
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e187a;
/* rgb */ color: rgb(30, 24, 122);
/* oklch */ color: oklch(30.2% 0.156 274.3);
Tailwind
colors: {
  custom: {
    50: '#6a57a2',
    500: '#1e187a',
    950: '#000000',
  },
}
SCSS
$custom: #1e187a;
$custom-light: #6a57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e187a",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 243.673,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30157,
    "c": 0.15628,
    "h": 274.3
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#1E187A
secondary
#A8AF3F
accent
#EA3EDF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E187A

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

Preview Lab → · Contrast checker → · Palette generator →

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