#2A6DF4 Color — HEX, RGB and HSL

Explore #2A6DF4, a vivid medium blue. Copy the color code, compare black and white text, and find lighter shades or matching color schemes for a website, dashboard or presentation.

HEX, RGB, HSL, HSV and CMYK values

All values below refer to the same six-digit sRGB color. CMYK is a mathematical approximation: printer profiles and paper stock can change the printed result.

HEX
#2A6DF4
RGB
rgb(42, 109, 244)
HSL
hsl(220, 90%, 56%)
HSV / HSB
hsv(220, 83%, 96%)
CMYK (approx.)
83%, 55%, 0%, 4%
Red channel
42
Green channel
109
Blue channel
244

Contrast against black and white text

WCAG contrast is calculated from relative sRGB luminance. The normal-text AA threshold is 4.5:1; large-text AA uses 3:1. Always test the final text/background pair, not just the swatch.

Aa

White text · 4.57:1 AA normal text

Aa

Black text · 4.59:1 AA normal text

Tints and shades of #2A6DF4

Tints mix the original color with white; shades mix it with black. Each step below uses 10% more of the mixing color. Select any sample to copy its HEX code.

Tints: 10–90% white

Shades: 10–90% black

Color harmonies and combinations

These combinations are generated from hue relationships on the HSL color wheel. They are starting points for design, not accessibility guarantees; check text contrast for every final pairing.

Complementary

Analogous

Triadic

Split-complementary

Monochromatic

How #2A6DF4 may appear with color-vision differences

These are full-severity Machado (2009) simulations in linear sRGB, using the same calculations as the Vietnamese version. They are approximations, not diagnoses or a substitute for accessibility testing.

Never use color alone to communicate status; include labels or icons.

Use #2A6DF4 in CSS

The example pairs #2A6DF4 with black text for an AA-level contrast ratio. Copy the CSS and adapt the class name to your project.

:root {
  --brand-blue: #2A6DF4;
}
.button-primary {
  background: var(--brand-blue);
  color: #000000;
}

Colors can look different on physical products. For commercial print work, request a printed proof using the actual ink, paper and color profile.

Related blue color codes

These colors already have detail pages in the Vietnamese catalog. The links are clearly labeled rather than pointing to unbuilt English pages.

Reference: Vietnamese color profile for #2A6DF4. Color values are derived from the sRGB hexadecimal code; the page does not claim to replicate a product or a physical paint color.