C64 Blue color: hex code #003AFF

#003AFF rgb(0, 58, 255)
Shades of blue

C64 Blue has the hex code #003AFF. It is a vivid blue.

In the RGB color model it is made of 0% red, 22.7% green and 100% blue (0, 58, 255).

Its hue angle is 226°, with 100% saturation and 50% lightness. For print, the CMYK equivalent is 100% cyan, 77% magenta, 0% yellow and 0% black.

White text is the more readable choice on this background (contrast 6.89:1).

C64 Blue (#003AFF) color codes

HEX#003AFF
RGBrgb(0, 58, 255)
RGB percentrgb(0%, 22.7%, 100%)
HSLhsl(226, 100%, 50%)
HSV / HSBhsv(226, 100%, 100%)
CMYKcmyk(100%, 77%, 0%, 0%)
CIE LABlab(38.28, 61.23, -97.89)
CIE LCHlch(38.28, 115.46, 302.03)
CIE XYZxyz(19.557, 10.243, 95.535)
Decimal15103
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with C64 Blue, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #003AFFRatioAAAAAAA large
Sample text3.05:1FailFailPass
Sample text6.89:1PassFailPass
#003AFF as text onRatioAAAAAAA large
Sample text6.89:1PassFailPass
Sample text3.05:1FailFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #003AFF looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #003aff; }
.text { color: #003aff; }
.border { border: 2px solid #003aff; }
.transparent { background-color: rgb(0 58 255 / 50%); }
.gradient { background: linear-gradient(to right, #003aff, #4500ff); }
Background
Text color
Border

Similar colors

See #003AFF on its hex code page

Questions

What color is #003AFF?
#003AFF is a vivid blue known as C64 Blue. It belongs to the blue family of colors.
What is the RGB value of C64 Blue?
The RGB value is 0, 58, 255: 0 red, 58 green and 255 blue on a 0 to 255 scale.
What is the complementary color of C64 Blue?
The complementary color is #FFC500, found by rotating the hue 180° on the color wheel.
Is black or white text better on #003AFF?
White text. Black text has a contrast ratio of 3.05:1 and white text 6.89:1. WCAG asks for at least 4.5:1 for normal text.