Skip to content
Vectorlight.net

#26318f

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

HEX
#26318f
RGB
38, 49, 143
HSL
233.71°, 58.01%, 35.49%
OKLCH
0.37 0.15 271.34
Names
—
Lists

Codes

FormatValue
HEX#26318f
RGBrgb(38 49 143)
HSLhsl(233.71 58.01% 35.49%)
OKLCHoklch(0.37 0.15 271.34)
CMYKcmyk(73.43% 65.73% 0% 43.92%)
Android#ff26318f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #26318f;
background-color: #26318f;
bg-[#26318f]