#223355 color
#223355 is a dark muted blue colour. It is rgb(34, 51, 85) in RGB and hsl(220, 43%, 23%) in HSL. Text in white reads better on it: the contrast is 12.55:1 against white and 1.67:1 against black.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#223355}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{55}_{16}=85 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
220^\circ + 180^\circ = 40^\circ ;\Rightarrow; \mathrm{#554422} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#223355} = \mathrm{rgb}(34, 51, 85) \]
\[ \mathrm{#223355}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{55}_{16}=85 \]
\[ H=220^\circ,\quad S=43\%,\quad L=23\% \]
\[ 220^\circ + 180^\circ = 40^\circ ;\Rightarrow; \mathrm{#554422} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 12.55:1\ \text{(on white)} \]#223355 in every colour format
| Format | Value |
|---|---|
| HEX | #223355 |
| RGB | rgb(34, 51, 85) |
| RGB (percent) | rgb(13.3%, 20.0%, 33.3%) |
| HSL | hsl(220, 43%, 23%) |
| HSV / HSB | hsv(220, 60%, 33%) |
| CMYK | cmyk(60%, 40%, 0%, 67%) |
| Decimal | 2241365 |
| Description | dark muted blue |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 12.55:1 | pass | pass | pass | pass |
| Black text | 1.67:1 | fail | fail | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #06080E #0B111C #111A2B #172239 #1C2B47 |
| This colour | #223355 |
| Tints (mixed with white) | #475571 #6C778E #9199AA #B5BBC6 #DADDE3 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #253656 | 2 |
| Deuteranopia | #1F3154 | 1 |
| Tritanopia | #043A40 | 24 |
| Grayscale | #333333 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark slate gray | #2F4F4F |
| Dark slate blue | #483D8B |
| Black | #000000 |
| Dim gray | #696969 |
Questions
What is the RGB value of #223355?
rgb(34, 51, 85): red 34, green 51, blue 85.
What is the HSL value of #223355?
hsl(220, 43%, 23%): a hue of 220°, 43% saturation and 23% lightness.
What is the complementary colour of #223355?
#554422, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #DDCCAA.
Should I use white or black text on #223355?
White. White gives 12.55:1 and black 1.67:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #223355?
cmyk(60%, 40%, 0%, 67%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #223355?
Dark slate gray (#2F4F4F).