#0F3940 color
The hex color #0F3940 is a very dark, moderate cyan.
In the RGB color model it is made of 5.9% red, 22.4% green and 25.1% blue (15, 57, 64).
Its hue angle is 189°, with 62% saturation and 15% lightness. For print, the CMYK equivalent is 77% cyan, 11% magenta, 0% yellow and 75% black.
The closest named color is Sunken Harbour (#1C3D44), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.5:1).
#0F3940 color codes
| HEX | #0F3940 | |
|---|---|---|
| RGB | rgb(15, 57, 64) | |
| RGB percent | rgb(5.9%, 22.4%, 25.1%) | |
| HSL | hsl(189, 62%, 15%) | |
| HSV / HSB | hsv(189, 77%, 25%) | |
| CMYK | cmyk(77%, 11%, 0%, 75%) | |
| CIE LAB | lab(21.57, -11.58, -8.56) | |
| CIE LCH | lch(21.57, 14.4, 216.49) | |
| CIE XYZ | xyz(2.585, 3.398, 5.369) | |
| Decimal | 997696 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F3940, 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 #0F3940 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.5:1 | Pass | Pass | Pass |
| #0F3940 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.5:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #0F3940 looks to people with the most common types of color vision deficiency.
#333740Protanopia
no red cones#2c3140Deuteranopia
no green cones#003c3bTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #0f3940; }
.text { color: #0f3940; }
.border { border: 2px solid #0f3940; }
.transparent { background-color: rgb(15 57 64 / 50%); }
.gradient { background: linear-gradient(to right, #0f3940, #0f2140); }
Similar colors
#1c3d44Sunken Harbour#1c3b42Royal Neptune#133337Elite Teal#224347Emerald Forest#27454aMysterious Waters#154250Cold and Dark#203943Astral Nomad#2d454aLittle Mermaid
Closest common color name: Dark Slate Gray.
Questions
- What color is #0F3940?
- #0F3940 is a very dark, moderate cyan, closest to the named color Sunken Harbour. It belongs to the teal family of colors.
- What is the RGB value of #0F3940?
- The RGB value is 15, 57, 64: 15 red, 57 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #0F3940?
- The complementary color is #40160F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F3940?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.5:1. WCAG asks for at least 4.5:1 for normal text.