#1E147C#1E147C

#1E147C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.162 H 274.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#1E147C
RGBrgb(30, 20, 124)
HSLhsl(246, 72%, 28%)
HSVhsv(246, 84%, 49%)
CMYKcmyk(75.8%, 83.9%, 0%, 51.4%)
CIE-LABlab(16.66, 39.08, -55.97)
CIE-LCHlch(16.66, 68.26, 304.92°)
OKLaboklab(29.88% 0.013 -0.1619)
OKLCHoklch(29.88% 0.162 274.6)
XYZxyz(4.4225, 2.2311, 19.2625)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E147C #727C14
analogous
#143E7C #1E147C #52147C
triadic
#1E147C #7C1E14 #147C1E
tetradic
#1E147C #7C143E #727C14 #147C52
square
#1E147C #7C143E #727C14 #147C52
split-complementary
#1E147C #7C5214 #3E7C14
monochromatic
#06041A #110B47 #1E147C #2B1DB1 #3E2DDD

Accessibility & contrast

On white

14.52
#1E147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E147C
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E147C#FFFFFF#000000##FFFFFF
##1E147C1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e147c;
/* rgb */ color: rgb(30, 20, 124);
/* oklch */ color: oklch(29.9% 0.162 274.6);
Tailwind
colors: {
  custom: {
    50: '#6b55a3',
    500: '#1e147c',
    950: '#000000',
  },
}
SCSS
$custom: #1e147c;
$custom-light: #6b55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e147c",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 245.769,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29883,
    "c": 0.16238,
    "h": 274.6
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#1E147C
secondary
#A6B23A
accent
#EF39DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E147C

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

Preview Lab → · Contrast checker → · Palette generator →

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