Color #0C1939

Color Code #0C1939

A precise look at this Blue color with standard values, coordinated palettes, contrast and practical examples.

BlueVery dark
Color preview#0C1939
Conversions

Complete color values

Every value is calculated directly from the HEX code. CMYK is an approximation for print workflows.

HEX
#0C1939
RGB
rgb(12, 25, 57)
HSL
hsl(222.67 65.22% 13.53%)
HSV
hsv(222.67 78.95% 22.35%)
CMYKApproximate
78.95%, 56.14%, 0%, 77.65%
Relative luminance0.01070—1
Contrast with white17.3:1WCAG
Contrast with black1.21:1WCAG
Best text color#FFFFFFAA ✓

Contrast report

Readability against white and black text

Readable text sample17.3:1
AA ✓AAA ✓
Readable text sample1.21:1
AA ×AAA ×
Usage suggestions

Where can this color work?

This very dark Blue tone can be considered for prominent surfaces, identity elements and visual emphasis.

Use #0C1939 for normal text only when the contrast ratio reaches at least 4.5:1. Large text may pass at 3:1.

Color harmony

Suggested palettes

Complementary palette

Analogous palette

Triadic palette

Monochrome scale

For designers and developers

CSS code example

CSS
.color-sample {
  color: #0C1939;
  background-color: #0C19391A;
  border-color: #0C1939;
}

Frequently asked questions

What is the RGB value of #0C1939?

This color is RGB(12, 25, 57).

What is the HSL value of #0C1939?

Its value is HSL(222.67°, 65.22%, 13.53%).

Is #0C1939 suitable for text?

Readability depends on the background. The contrast ratio and WCAG results on this page provide the relevant checks.