Skip to content
Vectorlight.net

#0638ea

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

HEX
#0638ea
RGB
6, 56, 234
HSL
226.84°, 95%, 47.06%
OKLCH
0.47 0.26 264.27
Names
—
Lists

Codes

FormatValue
HEX#0638ea
RGBrgb(6 56 234)
HSLhsl(226.84 95% 47.06%)
OKLCHoklch(0.47 0.26 264.27)
CMYKcmyk(97.44% 76.07% 0% 8.24%)
Android#ff0638ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0638ea;
background-color: #0638ea;
bg-[#0638ea]