Find Color Codes

Ultramarine Color Codes

Ultramarine is a dark, vivid blue with the hex code #3F00FF, RGB values of 63, 0, 255 and an HSL value of hsl(255, 100%, 50%).

HEX#3F00FF
RGB63, 0, 255
HSLhsl(255, 100%, 50%)
HSV255°, 100%, 100%
CMYK75%, 100%, 0%, 0%
LAB34.55, 79.98, -104.04
CIELCHuv34.55, 132.57, 267.91°
Nearest Pantone
PMS 2738 C ΔE 50.6 · approximate
Nearest CSS name
blue ΔE 4.5

Source Wikipedia, List of colors

Ultramarine Color Hex Code

The Ultramarine color hex code is #3F00FF. Those six digits are three pairs, 3F for red, 00 for green and FF for blue, which is the same triplet a browser reads from the CSS value below.

#3F00FF

Ultramarine Color RGB Code

The Ultramarine RGB code is rgb(63, 0, 255). Blue carries the most light at 255 of 255, which is what puts this color where it sits on the wheel.

rgb(63, 0, 255)

Ultramarine Color HSV Code

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

255°, 100%, 100%

Ultramarine Color CIELChuv Code

The Ultramarine CIELCHuv code is 34.55, 132.57, 267.91°. Unlike hex or RGB this one is perceptual: lightness 35 means mid-toned to the eye rather than to the screen, and chroma 133 is how far it sits from grey.

34.55, 132.57, 267.91°

Tonal scale

What are Ultramarine 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 Ultramarine Color Palette Codes?

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

Complementary

The opposite hue is #C0FF00, a very light, vivid yellow-green. Complements carry the strongest contrast of any two-color scheme, so this pair suits a call to action better than a background. Both are saturated, so give the complement much less area than the base or the two will fight.

Analogous

Its two neighbours are #0041FF and #BF00FF. 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

#FF3F00 and #00FF3F 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: #FFBF00 and #40FF00. 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 #C0FF00, and #FF0041 with #00FFBF. 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 Ultramarine 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

7.91:1

7.91

contrast ratio on white background

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

Black background

2.66:1

2.66

contrast ratio on black background

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

Ultramarine clears WCAG AA against white at 7.91:1, so it is safe for body copy as well as headings. Text placed on it should be white, which gives 7.91:1. It is a highly saturated color, so it will dominate anything it sits beside. Give it space rather than surrounding it with other strong colors.

Color vision

How Ultramarine 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

#2F2EE2

Ultramarine changes substantially here. ΔE 25.8

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

Deuteranopia

About 1% of men
actual

#3134DA

Ultramarine changes substantially here. ΔE 33.1

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

#3DC6C0

Ultramarine changes substantially here. ΔE 156.5

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

#515151

Ultramarine changes substantially here. ΔE 131.2

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, Ultramarine reads as #3134DA. That is a shift of ΔE 33.1, 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 156.5. 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 Ultramarine in code

:root {
  --ultramarine: #3F00FF;
}

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