#42A6F2

Closest named color: Chefchaouen Blue (#4895EF). oklch(70.1% 0.145 245.2), rgb(66, 166, 242).

Aa

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

About this color

#42A6F2 is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.145 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.045 away. Black text reads best on it, at 7.96:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromavivid (0.145)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.96:1
White text2.63:1

Values

HEX#42A6F2
RGBrgb(66, 166, 242)
HSLhsl(206, 87%, 60%)
OKLCHoklch(70.1% 0.145 245.2)

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 #42A6F2 2.63:1 Fails Lc -56.2 Large or bold text, headings
Black text on #42A6F2 7.96:1 AAA Lc 53.0 Large or bold text, headings
#42A6F2 text on white 2.63:1 Fails Lc 51.0 Large or bold text, headings
#42A6F2 text on black 7.96:1 AAA Lc -50.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

    #EFF7FD

    oklch(97.2% 0.012 239.9)

  2. Step 100

    100

    #DCECFB

    oklch(93.6% 0.027 246.3)

  3. Step 200

    200

    #BEDDF9

    oklch(88.4% 0.051 245.7)

  4. Step 300

    300

    #8FC7F8

    oklch(80.9% 0.091 245.6)

  5. Step 400

    400 (this color)

    #42A6F2

    oklch(70.1% 0.145 245.2)

  6. Step 500

    500

    #0090E2

    oklch(63.1% 0.159 245)

  7. Step 600

    600

    #0079BF

    oklch(55.7% 0.14 245)

  8. Step 700

    700

    #0065A2

    oklch(49% 0.125 245.5)

  9. Step 800

    800

    #005386

    oklch(42.8% 0.108 245.3)

  10. Step 900

    900

    #004570

    oklch(37.7% 0.095 244.9)

  11. Step 950

    950

    #002945

    oklch(27.1% 0.068 244.5)

Export this scale for Tailwind in the Tailwind colors tool

#42A6F2 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)#83A9F50.061
Deuteranopia (no green cones)#6B98F10.046
Tritanopia (no blue cones)#00B8C10.103
Achromatopsia (no color)#9F9F9F0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #42A6F2

    #42A6F2

    oklch(70.1% 0.145 245.2)

  • #DB8926

    #DB8926

    oklch(70.1% 0.145 65)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42A6F2

    #42A6F2

    oklch(70.1% 0.145 245.2)

  • #00B1CF

    #00B1CF

    oklch(70% 0.124 215.6)

  • #8695F8

    #8695F8

    oklch(70.1% 0.145 275.5)

Open the analogous palette in the generator

Split complementary

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

  • #42A6F2

    #42A6F2

    oklch(70.1% 0.145 245.2)

  • #EA7A5E

    #EA7A5E

    oklch(70.1% 0.145 35.1)

  • #BB9D00

    #BB9D00

    oklch(70.2% 0.144 95.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42A6F2

    #42A6F2

    oklch(70.1% 0.145 245.2)

  • #E77592

    #E77592

    oklch(70.1% 0.143 5.4)

  • #8AAE3E

    #8AAE3E

    oklch(70.2% 0.145 125.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42A6F2

    #42A6F2

    oklch(70.1% 0.145 245.2)

  • #D579C2

    #D579C2

    oklch(70% 0.146 335.1)

  • #DB8926

    #DB8926

    oklch(70.1% 0.145 65)

  • #41B976

    #41B976

    oklch(70.2% 0.146 155.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42A6F2 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.