Skip to content
Vectorlight.net

#0731cb

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

HEX
#0731cb
RGB
7, 49, 203
HSL
227.14°, 93.33%, 41.18%
OKLCH
0.42 0.24 264.42
Names
—
Lists

Codes

FormatValue
HEX#0731cb
RGBrgb(7 49 203)
HSLhsl(227.14 93.33% 41.18%)
OKLCHoklch(0.42 0.24 264.42)
CMYKcmyk(96.55% 75.86% 0% 20.39%)
Android#ff0731cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
9.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.31:1
Fail AA normal text
Fail 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="#0731cb"
Gradient stop
<stop stop-color="#0731cb"/>
CSS variable + fill
:root { --c: #0731cb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #0731cb;
background-color: #0731cb;
bg-[#0731cb]