Skip to content
Vectorlight.net

#0298eb

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

HEX
#0298eb
RGB
2, 152, 235
HSL
201.37°, 98.31%, 46.47%
OKLCH
0.65 0.16 244.12
Names
—
Lists

Codes

FormatValue
HEX#0298eb
RGBrgb(2 152 235)
HSLhsl(201.37 98.31% 46.47%)
OKLCHoklch(0.65 0.16 244.12)
CMYKcmyk(99.15% 35.32% 0% 7.84%)
Android#ff0298eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.13:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.69:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#0298eb"
Gradient stop
<stop stop-color="#0298eb"/>
CSS variable + fill
:root { --c: #0298eb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #0298eb;
background-color: #0298eb;
bg-[#0298eb]