#42AFE7

Closest named color: Deep Sky Blue (#00BFFF). oklch(71.6% 0.127 235.1), rgb(66, 175, 231).

Aa

Black text reads best on this color (8.51:1).

About this color

#42AFE7 is a medium-light, moderately saturated blue. In OKLCH its lightness is 72%, its chroma 0.127 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sky Blue (#00BFFF), ΔE 0.048 away. Black text reads best on it, at 8.51:1.

Hue familyBlues
Lightnessmedium-light (72%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameDeep Sky Blue (#00BFFF)
Black text8.51:1
White text2.46:1

Values

HEX#42AFE7
RGBrgb(66, 175, 231)
HSLhsl(200, 77%, 58%)
OKLCHoklch(71.6% 0.127 235.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #42AFE7 2.46:1 Fails Lc -53.2 Large or bold text, headings
Black text on #42AFE7 8.51:1 AAA Lc 55.9 Large or bold text, headings
#42AFE7 text on white 2.46:1 Fails Lc 48.1 Large or bold text, headings
#42AFE7 text on black 8.51:1 AAA Lc -53.9 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #EFF7FC

    oklch(97.2% 0.011 234.8)

  2. Step 100

    100

    #DCEDF7

    oklch(93.6% 0.023 233.4)

  3. Step 200

    200

    #BEDFF3

    oklch(88.6% 0.044 234.6)

  4. Step 300

    300

    #8EC9ED

    oklch(80.8% 0.079 235.9)

  5. Step 400

    400 (this color)

    #42AFE7

    oklch(71.6% 0.127 235.1)

  6. Step 500

    500

    #0095CE

    oklch(63.2% 0.133 234.7)

  7. Step 600

    600

    #007DAE

    oklch(55.7% 0.118 234.9)

  8. Step 700

    700

    #006993

    oklch(49.2% 0.104 234.9)

  9. Step 800

    800

    #005679

    oklch(42.8% 0.09 234.7)

  10. Step 900

    900

    #004766

    oklch(37.6% 0.081 235.8)

  11. Step 950

    950

    #002A3E

    oklch(26.9% 0.057 235.2)

Export this scale for Tailwind in the Tailwind colors tool

#42AFE7 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#94AEEA0.078
Deuteranopia (no green cones)#7D9EE60.064
Tritanopia (no blue cones)#00BEC20.082
Achromatopsia (no color)#A5A5A50.127

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #42AFE7

    #42AFE7

    oklch(71.6% 0.127 235.1)

  • #E08C50

    #E08C50

    oklch(71.6% 0.127 54.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42AFE7

    #42AFE7

    oklch(71.6% 0.127 235.1)

  • #00B9C8

    #00B9C8

    oklch(71.7% 0.122 205.1)

  • #7CA1F3

    #7CA1F3

    oklch(71.6% 0.127 264.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #42AFE7

    #42AFE7

    oklch(71.6% 0.127 235.1)

  • #E8827A

    #E8827A

    oklch(71.6% 0.127 25.4)

  • #C79C36

    #C79C36

    oklch(71.5% 0.126 85.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42AFE7

    #42AFE7

    oklch(71.6% 0.127 235.1)

  • #E180A7

    #E180A7

    oklch(71.6% 0.127 355.2)

  • #A1AC47

    #A1AC47

    oklch(71.5% 0.126 114.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42AFE7

    #42AFE7

    oklch(71.6% 0.127 235.1)

  • #CB86CF

    #CB86CF

    oklch(71.5% 0.128 324.9)

  • #E08C50

    #E08C50

    oklch(71.6% 0.127 54.6)

  • #6DB870

    #6DB870

    oklch(71.5% 0.127 145)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #42AFE7, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #42AFE7 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.