#1E147D#1E147D

#1E147D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.164 H 274.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#1E147D
RGBrgb(30, 20, 125)
HSLhsl(246, 72%, 28%)
HSVhsv(246, 84%, 49%)
CMYKcmyk(76%, 84%, 0%, 51%)
CIE-LABlab(16.78, 39.40, -56.40)
CIE-LCHlch(16.78, 68.80, 304.94°)
OKLaboklab(30% 0.0127 -0.1631)
OKLCHoklch(30% 0.164 274.4)
XYZxyz(4.4860, 2.2565, 19.5972)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E147D #737D14
analogous
#143E7D #1E147D #52147D
triadic
#1E147D #7D1E14 #147D1E
tetradic
#1E147D #7D143E #737D14 #147D52
square
#1E147D #7D143E #737D14 #147D52
split-complementary
#1E147D #7D5214 #3E7D14
monochromatic
#06041A #110C48 #1E147D #2B1CB2 #3F2EDE

Accessibility & contrast

On white

14.47
#1E147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E147D
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E147D#FFFFFF#000000##FFFFFF
##1E147D1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e147d;
/* rgb */ color: rgb(30, 20, 125);
/* oklch */ color: oklch(30.0% 0.164 274.4);
Tailwind
colors: {
  custom: {
    50: '#6c55a4',
    500: '#1e147d',
    950: '#000000',
  },
}
SCSS
$custom: #1e147d;
$custom-light: #6c55a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e147d",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 245.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30004,
    "c": 0.1636,
    "h": 274.4
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#1E147D
secondary
#A7B23A
accent
#EF39DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E147D

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

Preview Lab → · Contrast checker → · Palette generator →

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