#123C42 color
The hex color #123C42 is a very dark, moderate cyan.
In the RGB color model it is made of 7.1% red, 23.5% green and 25.9% blue (18, 60, 66).
Its hue angle is 188°, with 57% saturation and 16% lightness. For print, the CMYK equivalent is 73% cyan, 9% magenta, 0% yellow and 74% 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 11.99:1).
#123C42 color codes
| HEX | #123C42 | |
|---|---|---|
| RGB | rgb(18, 60, 66) | |
| RGB percent | rgb(7.1%, 23.5%, 25.9%) | |
| HSL | hsl(188, 57%, 16%) | |
| HSV / HSB | hsv(188, 73%, 26%) | |
| CMYK | cmyk(73%, 9%, 0%, 74%) | |
| CIE LAB | lab(22.84, -12.1, -7.97) | |
| CIE LCH | lch(22.84, 14.49, 213.38) | |
| CIE XYZ | xyz(2.848, 3.753, 5.728) | |
| Decimal | 1195074 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #123C42, 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 #123C42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.75:1 | Fail | Fail | Fail |
| Sample text | 11.99:1 | Pass | Pass | Pass |
| #123C42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.99:1 | Pass | Pass | Pass |
| Sample text | 1.75: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 #123C42 looks to people with the most common types of color vision deficiency.
#363a42Protanopia
no red cones#2f3442Deuteranopia
no green cones#003f3eTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #123c42; }
.text { color: #123c42; }
.border { border: 2px solid #123c42; }
.transparent { background-color: rgb(18 60 66 / 50%); }
.gradient { background: linear-gradient(to right, #123c42, #122442); }
Similar colors
#1c3d44Sunken Harbour#1c3b42Royal Neptune#224347Emerald Forest#133337Elite Teal#27454aMysterious Waters#154250Cold and Dark#2d454aLittle Mermaid#203943Astral Nomad
Closest common color name: Dark Slate Gray.
Questions
- What color is #123C42?
- #123C42 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 #123C42?
- The RGB value is 18, 60, 66: 18 red, 60 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #123C42?
- The complementary color is #421812, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #123C42?
- White text. Black text has a contrast ratio of 1.75:1 and white text 11.99:1. WCAG asks for at least 4.5:1 for normal text.