#001F68 color

#001F68 rgb(0, 31, 104)
Shades of blue

The hex color #001F68 is a dark, vivid blue.

In the RGB color model it is made of 0% red, 12.2% green and 40.8% blue (0, 31, 104).

Its hue angle is 222°, with 100% saturation and 20% lightness. For print, the CMYK equivalent is 100% cyan, 70% magenta, 0% yellow and 59% black.

The closest named color is Midnight Melancholia (#002266), a difference of 1.3 ΔE, which is barely visible.

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

#001F68 color codes

HEX#001F68
RGBrgb(0, 31, 104)
RGB percentrgb(0%, 12.2%, 40.8%)
HSLhsl(222, 100%, 20%)
HSV / HSBhsv(222, 100%, 41%)
CMYKcmyk(100%, 70%, 0%, 59%)
CIE LABlab(15.38, 22.55, -45.18)
CIE LCHlch(15.38, 50.5, 296.53)
CIE XYZxyz(2.988, 1.979, 13.319)
Decimal8040
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #001F68, 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 #001F68RatioAAAAAAA large
Sample text1.4:1FailFailFail
Sample text15.04:1PassPassPass
#001F68 as text onRatioAAAAAAA large
Sample text15.04:1PassPassPass
Sample text1.4:1FailFailFail

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 #001F68 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #001f68; }
.text { color: #001f68; }
.border { border: 2px solid #001f68; }
.transparent { background-color: rgb(0 31 104 / 50%); }
.gradient { background: linear-gradient(to right, #001f68, #150068); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #001F68?
#001F68 is a dark, vivid blue, closest to the named color Midnight Melancholia. It belongs to the blue family of colors.
What is the RGB value of #001F68?
The RGB value is 0, 31, 104: 0 red, 31 green and 104 blue on a 0 to 255 scale.
What is the complementary color of #001F68?
The complementary color is #684900, found by rotating the hue 180° on the color wheel.
Is black or white text better on #001F68?
White text. Black text has a contrast ratio of 1.4:1 and white text 15.04:1. WCAG asks for at least 4.5:1 for normal text.