Skip to content
Kolorvia
#1a315a

Color #1a315a

A moderately saturated dark blue.

Conversions

HEX
#1a315a
RGB
rgb(26, 49, 90)
HSL
hsl(218.4, 55.2%, 22.7%)
HSV / HSB
hsv(218.4, 71.1%, 35.3%)
CMYK
cmyk(71.1%, 45.6%, 0%, 64.7%)
LAB
lab(20.65, 6.27, -27.35)
LCH
lch(20.65, 28.06, 282.91)
OKLCH
oklch(31.8%, 0.079, 261.04)
HWB
hwb(218.4, 10.2%, 64.7%)

Harmony colors

Complementary

#5a431a

Analogous

#1a515a
#1a315a
#231a5a

Triadic

#1a315a
#5a1a31
#315a1a

Split-complementary

#1a315a
#5a231a
#515a1a

Tetradic

#1a315a
#431a5a
#5a431a
#315a1a

Square

#1a315a
#5a1a51
#5a431a
#1a5a23

Shades

Color #1a315a mixed toward black.

#16294b
#11213c
#0d182d
#09101e
#04080f

Tints

Color #1a315a mixed toward white.

#294d8d
#3768c0
#668dd3
#99b3e2
#ccd9f0

Tones

Color #1a315a mixed toward gray.

#1f3255
#25344f
#2a354a
#2f3745
#35383f

Accessibility

Aa White text on this color
12.88:1
Aa Black text on this color
1.63:1

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

Under color vision deficiencies

Protanopia

#262652 · ΔE 6.5

Deuteranopia

#242350 · ΔE 7.1

Tritanopia

#1c4b4a · ΔE 23

Achromatopsia

#323232 · ΔE 17.5

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

Code

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

Related colors

Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Royal Blue #4169e1
Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff

Frequently asked questions

#1a315a (#1a315a) is rgb(26, 49, 90) in RGB.

No, #1a315a is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #1a315a, 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.