Skip to content
Kolorvia
#312459

Color #312459

A moderately saturated dark blue.

Conversions

HEX
#312459
RGB
rgb(49, 36, 89)
HSL
hsl(254.7, 42.4%, 24.5%)
HSV / HSB
hsv(254.7, 59.6%, 34.9%)
CMYK
cmyk(44.9%, 59.6%, 0%, 65.1%)
LAB
lab(18.52, 20.66, -30)
LCH
lch(18.52, 36.43, 304.55)
OKLCH
oklch(30.6%, 0.0916, 291.33)
HWB
hwb(254.7, 14.1%, 65.1%)

Harmony colors

Complementary

#4c5924

Analogous

#243159
#312459
#4b2459

Triadic

#312459
#593124
#245931

Split-complementary

#312459
#594b24
#315924

Tetradic

#312459
#59244c
#4c5924
#245931

Square

#312459
#592431
#4c5924
#24594b

Shades

Color #312459 mixed toward black.

#291e4a
#21183b
#18122c
#100c1e
#08060f

Tints

Color #312459 mixed toward white.

#4a3687
#6349b4
#8a76c8
#b1a4da
#d8d1ed

Tones

Color #312459 mixed toward gray.

#332855
#352d50
#38314c
#3a3647
#3c3a43

Accessibility

Aa White text on this color
13.75:1
Aa Black text on this color
1.53:1

White text reads better on this background (13.75:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#2c2c50 · ΔE 5.5

Deuteranopia

#2d2e4e · ΔE 6.8

Tritanopia

#304846 · ΔE 25.5

Achromatopsia

#2d2d2d · ΔE 21.3

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #312459;
Tailwind (arbitrary value)
bg-[#312459]

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Navy #000080
Lavender #e6e6fa

Frequently asked questions

#312459 (#312459) is rgb(49, 36, 89) in RGB.

No, #312459 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #312459, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.