#0000B9 color
The hex color #0000B9 is a dark, vivid blue.
In the RGB color model it is made of 0% red, 0% green and 72.5% blue (0, 0, 185).
Its hue angle is 240°, with 100% saturation and 36% lightness. For print, the CMYK equivalent is 100% cyan, 100% magenta, 0% yellow and 27% black.
The closest named color is Too Dark Tonight (#0011BB), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.35:1).
#0000B9 color codes
| HEX | #0000B9 | |
|---|---|---|
| RGB | rgb(0, 0, 185) | |
| RGB percent | rgb(0%, 0%, 72.5%) | |
| HSL | hsl(240, 100%, 36%) | |
| HSV / HSB | hsv(240, 100%, 73%) | |
| CMYK | cmyk(100%, 100%, 0%, 27%) | |
| CIE LAB | lab(21.95, 62.22, -84.75) | |
| CIE LCH | lch(21.95, 105.14, 306.28) | |
| CIE XYZ | xyz(8.754, 3.502, 46.104) | |
| Decimal | 185 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0000B9, 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 #0000B9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.35:1 | Pass | Pass | Pass |
| #0000B9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.35:1 | Pass | Pass | Pass |
| Sample text | 1.7: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 #0000B9 looks to people with the most common types of color vision deficiency.
#003ebdProtanopia
no red cones#002ab6Deuteranopia
no green cones#004c6bTritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #0000b9; }
.text { color: #0000b9; }
.border { border: 2px solid #0000b9; }
.transparent { background-color: rgb(0 0 185 / 50%); }
.gradient { background: linear-gradient(to right, #0000b9, #5d00b9); }
Similar colors
#0011bbToo Dark Tonight#0000aaBohemian Blue#030aa7Cobalt#0000cdMedium Blue#010fccTrue Blue#3311bbGalactic Highway#0018a8Dark Galaxy#3300ccBusty Blue
Questions
- What color is #0000B9?
- #0000B9 is a dark, vivid blue, closest to the named color Too Dark Tonight. It belongs to the blue family of colors.
- What is the RGB value of #0000B9?
- The RGB value is 0, 0, 185: 0 red, 0 green and 185 blue on a 0 to 255 scale.
- What is the complementary color of #0000B9?
- The complementary color is #B9B900, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0000B9?
- White text. Black text has a contrast ratio of 1.7:1 and white text 12.35:1. WCAG asks for at least 4.5:1 for normal text.