Skip to content
Kolorvia
#2a7bd6

Color #2a7bd6

A moderately saturated medium blue.

Conversions

HEX
#2a7bd6
RGB
rgb(42, 123, 214)
HSL
hsl(211.7, 67.7%, 50.2%)
HSV / HSB
hsv(211.7, 80.4%, 83.9%)
CMYK
cmyk(80.4%, 42.5%, 0%, 16.1%)
LAB
lab(51.28, 8.24, -53.53)
LCH
lch(51.28, 54.16, 278.75)
OKLCH
oklch(58.2%, 0.1592, 254.33)
HWB
hwb(211.7, 16.5%, 16.1%)

Harmony colors

Complementary

#d6852a

Analogous

#2ad1d6
#2a7bd6
#2f2ad6

Triadic

#2a7bd6
#d62a7b
#7bd62a

Split-complementary

#2a7bd6
#d62f2a
#d1d62a

Tetradic

#2a7bd6
#852ad6
#d6852a
#7bd62a

Square

#2a7bd6
#d62ad1
#d6852a
#2ad62f

Shades

Color #2a7bd6 mixed toward black.

#2267b3
#1c528f
#153e6b
#0e2948
#071524

Tints

Color #2a7bd6 mixed toward white.

#4e91dd
#71a7e4
#95bdea
#b8d3f1
#dce9f8

Tones

Color #2a7bd6 mixed toward gray.

#387cc8
#477db9
#557eab
#637e9d
#727f8e

Accessibility

Aa White text on this color
4.28:1
Aa Black text on this color
4.9:1

Black text reads better on this background (4.9:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#5959c5 · ΔE 15.6

Deuteranopia

#544ec0 · ΔE 18.5

Tritanopia

#32b6b2 · ΔE 32.6

Achromatopsia

#7a7a7a · ΔE 24.4

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

Code

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

Related colors

Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff
Light Steel Blue #b0c4de
Alice Blue #f0f8ff
Steel Blue #4682b4

Frequently asked questions

#2a7bd6 (#2a7bd6) is rgb(42, 123, 214) in RGB.

No, #2a7bd6 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 #2a7bd6, 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.