#1E187C#1E187C

#1E187C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.159 H 274.1°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#1E187C
RGBrgb(30, 24, 124)
HSLhsl(244, 68%, 29%)
HSVhsv(244, 81%, 49%)
CMYKcmyk(75.8%, 80.6%, 0%, 51.4%)
CIE-LABlab(17.39, 36.96, -54.76)
CIE-LCHlch(17.39, 66.07, 304.02°)
OKLaboklab(30.39% 0.0113 -0.1584)
OKLCHoklch(30.39% 0.159 274.1)
XYZxyz(4.4989, 2.3841, 19.2879)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E187C #767C18
analogous
#18447C #1E187C #50187C
triadic
#1E187C #7C1E18 #187C1E
tetradic
#1E187C #7C1844 #767C18 #187C50
square
#1E187C #7C1844 #767C18 #187C50
split-complementary
#1E187C #7C5018 #447C18
monochromatic
#06051A #120E49 #1E187C #2A22AF #4036D8

Accessibility & contrast

On white

14.22
#1E187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E187C
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E187C#FFFFFF#000000##FFFFFF
##1E187C1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e187c;
/* rgb */ color: rgb(30, 24, 124);
/* oklch */ color: oklch(30.4% 0.159 274.1);
Tailwind
colors: {
  custom: {
    50: '#6b57a3',
    500: '#1e187c',
    950: '#000000',
  },
}
SCSS
$custom: #1e187c;
$custom-light: #6b57a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e187c",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 243.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30391,
    "c": 0.15881,
    "h": 274.1
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#1E187C
secondary
#AAB13F
accent
#EA3DE0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E187C

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

Preview Lab → · Contrast checker → · Palette generator →

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