Skip to content
Vectorlight.net

#262adf

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

HEX
#262adf
RGB
38, 42, 223
HSL
238.7°, 74.3%, 51.18%
OKLCH
0.45 0.26 268.77
Names
—
Lists

Codes

FormatValue
HEX#262adf
RGBrgb(38 42 223)
HSLhsl(238.7 74.3% 51.18%)
OKLCHoklch(0.45 0.26 268.77)
CMYKcmyk(82.96% 81.17% 0% 12.55%)
Android#ff262adf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #262adf;
background-color: #262adf;
bg-[#262adf]