Skip to content
Vectorlight.net

#0277cd

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#0277cd
RGB
2, 119, 205
HSL
205.42°, 98.07%, 40.59%
OKLCH
0.56 0.16 250.16
Names
—
Lists

Codes

FormatValue
HEX#0277cd
RGBrgb(2 119 205)
HSLhsl(205.42 98.07% 40.59%)
OKLCHoklch(0.56 0.16 250.16)
CMYKcmyk(99.02% 41.95% 0% 19.61%)
Android#ff0277cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#0277cd"
Gradient stop
<stop stop-color="#0277cd"/>
CSS variable + fill
:root { --c: #0277cd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #0277cd;
background-color: #0277cd;
bg-[#0277cd]