#1E147A#1E147A

#1E147A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.160 H 274.9°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#1E147A
RGBrgb(30, 20, 122)
HSLhsl(246, 72%, 28%)
HSVhsv(246, 84%, 48%)
CMYKcmyk(75.4%, 83.6%, 0%, 52.2%)
CIE-LABlab(16.41, 38.43, -55.10)
CIE-LCHlch(16.41, 67.18, 304.89°)
OKLaboklab(29.64% 0.0135 -0.1593)
OKLCHoklch(29.64% 0.16 274.9)
XYZxyz(4.2973, 2.1810, 18.6031)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E147A #707A14
analogous
#143D7A #1E147A #51147A
triadic
#1E147A #7A1E14 #147A1E
tetradic
#1E147A #7A143D #707A14 #147A51
square
#1E147A #7A143D #707A14 #147A51
split-complementary
#1E147A #7A5114 #3D7A14
monochromatic
#06041A #110B45 #1E147A #2B1DAF #3D2CDC

Accessibility & contrast

On white

14.62
#1E147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E147A
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E147A#FFFFFF#000000##FFFFFF
##1E147A1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e147a;
/* rgb */ color: rgb(30, 20, 122);
/* oklch */ color: oklch(29.6% 0.160 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b55a2',
    500: '#1e147a',
    950: '#000000',
  },
}
SCSS
$custom: #1e147a;
$custom-light: #6b55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e147a",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 245.882,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.2964,
    "c": 0.1599,
    "h": 274.9
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#1E147A
secondary
#A4B03A
accent
#EF39DD
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E147A

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

Preview Lab → · Contrast checker → · Palette generator →

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