#0000D8 color
The hex color #0000D8 is a vivid blue.
In the RGB color model it is made of 0% red, 0% green and 84.7% blue (0, 0, 216).
Its hue angle is 240°, with 100% saturation and 42% lightness. For print, the CMYK equivalent is 100% cyan, 100% magenta, 0% yellow and 15% black.
The closest named color is Pure Blue (#0203E2), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.54:1).
#0000D8 color codes
| HEX | #0000D8 | |
|---|---|---|
| RGB | rgb(0, 0, 216) | |
| RGB percent | rgb(0%, 0%, 84.7%) | |
| HSL | hsl(240, 100%, 42%) | |
| HSV / HSB | hsv(240, 100%, 85%) | |
| CMYK | cmyk(100%, 100%, 0%, 15%) | |
| CIE LAB | lab(26.61, 69.86, -95.16) | |
| CIE LCH | lch(26.61, 118.05, 306.28) | |
| CIE XYZ | xyz(12.39, 4.956, 65.256) | |
| Decimal | 216 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0000D8, 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 #0000D8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.99:1 | Fail | Fail | Fail |
| Sample text | 10.54:1 | Pass | Pass | Pass |
| #0000D8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.54:1 | Pass | Pass | Pass |
| Sample text | 1.99:1 | Fail | Fail | Fail |
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 #0000D8 looks to people with the most common types of color vision deficiency.
#004addProtanopia
no red cones#0033d5Deuteranopia
no green cones#005a7eTritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #0000d8; }
.text { color: #0000d8; }
.border { border: 2px solid #0000d8; }
.transparent { background-color: rgb(0 0 216 / 50%); }
.gradient { background: linear-gradient(to right, #0000d8, #6c00d8); }
Similar colors
#0203e2Pure Blue#0000cdMedium Blue#010fccTrue Blue#3300ccBusty Blue#0000eeHyperlink Blue#150aecBurning Ultrablue#1f22d2Lapis on Neptune#3311bbGalactic Highway
Questions
- What color is #0000D8?
- #0000D8 is a vivid blue, closest to the named color Pure Blue. It belongs to the blue family of colors.
- What is the RGB value of #0000D8?
- The RGB value is 0, 0, 216: 0 red, 0 green and 216 blue on a 0 to 255 scale.
- What is the complementary color of #0000D8?
- The complementary color is #D8D800, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0000D8?
- White text. Black text has a contrast ratio of 1.99:1 and white text 10.54:1. WCAG asks for at least 4.5:1 for normal text.