#1E147F#1E147F

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

Color values

HEX#1E147F
RGBrgb(30, 20, 127)
HSLhsl(246, 73%, 29%)
HSVhsv(246, 84%, 50%)
CMYKcmyk(76.4%, 84.3%, 0%, 50.2%)
CIE-LABlab(17.03, 40.05, -57.27)
CIE-LCHlch(17.03, 69.88, 304.97°)
OKLaboklab(30.25% 0.0121 -0.1656)
OKLCHoklch(30.25% 0.166 274.2)
XYZxyz(4.6151, 2.3082, 20.2769)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E147F #757F14
analogous
#14407F #1E147F #54147F
triadic
#1E147F #7F1E14 #147F1E
tetradic
#1E147F #7F1440 #757F14 #147F54
square
#1E147F #7F1440 #757F14 #147F54
split-complementary
#1E147F #7F5414 #407F14
monochromatic
#06041A #120C4A #1E147F #2A1CB4 #402FDE

Accessibility & contrast

On white

14.37
#1E147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E147F
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E147F#FFFFFF#000000##FFFFFF
##1E147F1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e147f;
/* rgb */ color: rgb(30, 20, 127);
/* oklch */ color: oklch(30.2% 0.166 274.2);
Tailwind
colors: {
  custom: {
    50: '#6c55a5',
    500: '#1e147f',
    950: '#000000',
  },
}
SCSS
$custom: #1e147f;
$custom-light: #6c55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e147f",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 245.607,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30248,
    "c": 0.16606,
    "h": 274.2
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#1E147F
secondary
#A9B43B
accent
#EF38DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E147F

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

Preview Lab → · Contrast checker → · Palette generator →

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