#hexpedia

Closest to Cornflower Blue

#42A5F5

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX42A5F5
HEX with ##42A5F5
RGBrgb(66, 165, 245)
RGBArgba(66, 165, 245, 1)
HSLhsl(206.82 89.95% 60.98%)
HSLAhsla(206.82, 89.95%, 60.98%, 1)
HSVhsv(206.82, 73.06%, 96.08%)
CMYKcmyk(73.06%, 32.65%, 0%, 3.92%)
OKLCHoklch(70.02% 0.1488 246.66)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

2.65:1

Decorative only

Black text

7.93:1

AAA normal

Reference notes

#42A5F5 is a bright, saturated blue color closest to Cornflower Blue. The color has RGB channels of 66, 165, and 245; in HSL terms, it is centered near 207 degrees with 90% saturation and 61% lightness. In a design system, this cool reading is a useful shortcut for deciding whether the color should act as a primary accent, a supporting surface, or a quiet divider. The safest usage pattern is to test it against both light and dark surfaces, then reserve the weaker text pairing for decoration rather than essential labels. If the color feels too forceful at full strength, the lighter, darker, and desaturated variants usually provide a calmer path for production UI. For editorial or product interfaces, reserve the most saturated use for accents and repeat softer variants in borders, labels, or background fills. This makes it useful for badges, highlights, product accents, and moments where quick recognition matters. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.