Color guidelines

Core palette

Elastic UI builds with a very limited palette. We use a core set of three colors, combined with a green / orange / red qualitative set of three, and finally combine those against a six-color grayscale. Variation beyond these colors is minimal and always done with math manipulation against the original set.

euiColorEmptyShade

#FFFFFF

rgb(255, 255, 255)

euiColorLightestShade

#F5F7FA

rgb(245, 247, 250)

euiColorLightShade

#D3DAE6

rgb(211, 218, 230)

euiColorMediumShade

#98A2B3

rgb(152, 162, 179)

euiColorDarkShade

#69707D

rgb(105, 112, 125)

euiColorDarkestShade

#343741

rgb(52, 55, 65)

euiColorFullShade

#000000

rgb(0, 0, 0)

euiColorPrimary

#006BB4

rgb(0, 107, 180)

euiColorSecondary

#017D73

rgb(1, 125, 115)

euiColorWarning

#F5A700

rgb(245, 167, 0)

euiColorDanger

#BD271E

rgb(189, 39, 30)

euiColorAccent

#DD0A73

rgb(221, 10, 115)

Accessible text contrast

WCAG specifications defines specific contrast ratios between foreground text and a background color. The grid below displays which color combinations pass that rating. In general you should try to use a color combination that is AA or above with the exception of using large text.

Rating definitions

  • : AA AAA Passes with a contrast of 4.5+ (7+ for AAA)
  • : AA18 Passes with a contrast of 3+, but only if the text is at least 18px or 14px and bold
  • : Use only for disabled or inconsequential content
3+

euiColorEmptyShade

euiColorLightestShade

euiColorLightShade

euiColorMediumShade

euiColorDarkShade

euiColorDarkestShade

euiColorFullShade

euiColorPrimary

euiColorSecondary

euiColorWarning

euiColorDanger

euiColorAccent

Qualitative visualization palette

The following colors are color-blind safe and should be used in qualitative visualizations.

For more visualization palettes and rendering services, go to the Color Palettes utility page.

euiColorVis0

#00B3A4

rgb(0, 179, 164)

euiColorVis1

#3185FC

rgb(49, 133, 252)

euiColorVis2

#DB1374

rgb(219, 19, 116)

euiColorVis3

#490092

rgb(73, 0, 146)

euiColorVis4

#FEB6DB

rgb(254, 182, 219)

euiColorVis5

#E6C220

rgb(230, 194, 32)

euiColorVis6

#BFA180

rgb(191, 161, 128)

euiColorVis7

#F98510

rgb(249, 133, 16)

euiColorVis8

#461A0A

rgb(70, 26, 10)

euiColorVis9

#920000

rgb(146, 0, 0)