#1E56AC#1E56AC

#1E56AC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.150 H 259.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#1E56AC
RGBrgb(30, 86, 172)
HSLhsl(216, 70%, 40%)
HSVhsv(216, 83%, 67%)
CMYKcmyk(82.6%, 50%, 0%, 32.5%)
CIE-LABlab(37.68, 14.54, -51.09)
CIE-LCHlch(37.68, 53.12, 285.88°)
OKLaboklab(46.74% -0.0281 -0.1471)
OKLCHoklch(46.74% 0.15 259.2)
XYZxyz(11.3069, 9.9088, 40.3384)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E56AC #AC741E
analogous
#1E9DAC #1E56AC #2D1EAC
triadic
#1E56AC #AC1E56 #56AC1E
tetradic
#1E56AC #AC1E9D #AC741E #1EAC2D
square
#1E56AC #AC1E9D #AC741E #1EAC2D
split-complementary
#1E56AC #AC2D1E #9DAC1E
monochromatic
#0C2244 #153C78 #1E56AC #2D71DA #6194E3

Accessibility & contrast

On white

7.04
#1E56AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#1E56AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E56AC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E56AC#FFFFFF#000000##FFFFFF
##1E56AC1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1e56ac;
/* rgb */ color: rgb(30, 86, 172);
/* oklch */ color: oklch(46.7% 0.150 259.2);
Tailwind
colors: {
  custom: {
    50: '#7285c5',
    500: '#1e56ac',
    950: '#000000',
  },
}
SCSS
$custom: #1e56ac;
$custom-light: #7285c5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e56ac",
  "rgb": {
    "r": 30,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 216.338,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46737,
    "c": 0.14973,
    "h": 259.2
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#1E56AC
secondary
#C89E5E
accent
#A73BED
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1E56AC

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

Preview Lab → · Contrast checker → · Palette generator →

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