Find Color Codes

Iris Color Codes

Iris is a dark, saturated blue with the hex code #5A4FCF, RGB values of 90, 79, 207 and an HSL value of hsl(245, 57%, 56%).

HEX#5A4FCF
RGB90, 79, 207
HSLhsl(245, 57%, 56%)
HSV245°, 62%, 81%
CMYK57%, 62%, 0%, 19%
LAB41.64, 40.11, -64.97
CIELCHuv41.64, 97.77, 267.68°
Nearest Pantone
PMS 2728 C ΔE 11.5 · approximate
Nearest CSS name
slateblue ΔE 9.1

Community source color-name-list, community color-name index

Iris Color Hex Code

The Iris color hex code is #5A4FCF. Those six digits are three pairs, 5A for red, 4F for green and CF for blue, which is the same triplet a browser reads from the CSS value below.

#5A4FCF

Iris Color RGB Code

The Iris RGB code is rgb(90, 79, 207). Blue carries the most light at 207 of 255, which is what puts this color where it sits on the wheel.

rgb(90, 79, 207)

Iris Color HSV Code

The Iris HSV code is 245°, 62%, 81%. Read it as a hue of 245 degrees, 62% saturation and 81% value, which is the form most color pickers use because moving one number changes one thing.

245°, 62%, 81%

Iris Color CIELChuv Code

The Iris CIELCHuv code is 41.64, 97.77, 267.68°. Unlike hex or RGB this one is perceptual: lightness 42 means mid-toned to the eye rather than to the screen, and chroma 98 is how far it sits from grey.

41.64, 97.77, 267.68°

Tonal scale

What are Iris Color Palettes?

A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.

Shades, toward black

Tints, toward white

Tones, toward grey

Open in the shades & tints generator →

Palettes

What are Iris Color Palette Codes?

Each of these is a hue rotation from #5A4FCF. They are generated, not curated, so they are exact.

Complementary

The opposite hue is #C4CF4F, a light, saturated yellow. Complements carry the strongest contrast of any two-color scheme, so this pair suits a call to action better than a background. Neither is especially saturated, so this pairing stays calm enough for large areas of both.

Analogous

Its two neighbours are #4F84CF and #9A4FCF. Because they overlap heavily in hue, nothing in the group competes, and the eye reads the whole set as a single color with variation.

Triadic

#CF5A4F and #4FCF5A complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.

Split-complementary

Instead of the direct complement, this takes the two hues either side of it: #CF9A4F and #84CF4F. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.

Tetradic

Two complementary pairs forming a rectangle: this base with #C4CF4F, and #CF4F84 with #4FCF9A. The richest of the five and the hardest to balance, so treat this base as the lead and hold the other three well back.

See these on the color wheel →

Accessibility

Contrast checker: is Iris accessible?

Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.

White background

6.08:1

6.08

contrast ratio on white background

ElementAAAAA
Small text needs 4.5:1 / 7:1 Passes Fails
Large text needs 3:1 / 4.5:1 Passes Passes
UI component needs 3:1 Passes n/a

Black background

3.45:1

3.45

contrast ratio on black background

ElementAAAAA
Small text needs 4.5:1 / 7:1 Fails Fails
Large text needs 3:1 / 4.5:1 Passes Fails
UI component needs 3:1 Passes n/a

Iris clears WCAG AA against white at 6.08:1, so it is safe for body copy as well as headings. Text placed on it should be white, which gives 6.08:1.

Color vision

How Iris looks with color blindness

Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.

Protanopia

About 1% of men
actual

#5555BA

Iris shifts noticeably here. ΔE 16.1

No working red cones. Reds darken sharply and drift toward the same muddy olive as green.

Deuteranopia

About 1% of men
actual

#5657B5

Iris shifts noticeably here. ΔE 20.3

No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.

Tritanopia

About 1 in 10,000
actual

#59A7A3

Iris changes substantially here. ΔE 91.0

No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.

Achromatopsia

About 1 in 30,000
actual

#626262

Iris changes substantially here. ΔE 76.4

No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.

To a deuteranope, the most common form, Iris reads as #5657B5. That is a shift of ΔE 20.3, so it is a different color to roughly one man in sixteen. Blues survive red-green deficiency well, which is why so much interface design leans on them. The form to watch here is tritanopia, though at roughly 1 in 10,000 it affects far fewer people. The widest shift is under tritanopia, at ΔE 91.0. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.

Snippets

Using Iris in code

:root {
  --iris: #5A4FCF;
}

.example {
  color: var(--iris);
}