#42A2EC

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.9% 0.141 245.4), rgb(66, 162, 236).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (69%)
Chromavivid (0.141)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.61:1
White text2.75:1

Values

HEX#42A2EC
RGBrgb(66, 162, 236)
HSLhsl(206, 82%, 59%)
OKLCHoklch(68.9% 0.141 245.4)

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 #42A2EC 2.75:1 Fails Lc -58.2 Large or bold text, headings
Black text on #42A2EC 7.61:1 AAA Lc 51.1 Large or bold text, headings
#42A2EC text on white 2.75:1 Fails Lc 52.9 Large or bold text, headings
#42A2EC text on black 7.61:1 AAA Lc -48.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

    #EFF6FD

    oklch(97% 0.012 248)

  2. Step 100

    100

    #DCECFA

    oklch(93.5% 0.026 244.4)

  3. Step 200

    200

    #BFDDF8

    oklch(88.4% 0.049 245.6)

  4. Step 300

    300

    #90C7F6

    oklch(80.9% 0.088 245)

  5. Step 400

    400 (this color)

    #42A2EC

    oklch(68.9% 0.141 245.4)

  6. Step 500

    500

    #0090E3

    oklch(63.2% 0.16 245.3)

  7. Step 600

    600

    #0079C0

    oklch(55.7% 0.141 245.3)

  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

    #004571

    oklch(37.8% 0.096 245.5)

  11. Step 950

    950

    #002945

    oklch(27.1% 0.068 244.5)

Export this scale for Tailwind in the Tailwind colors tool

#42A2EC 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)#80A4EF0.059
Deuteranopia (no green cones)#6894EB0.045
Tritanopia (no blue cones)#00B4BC0.102
Achromatopsia (no color)#9C9C9C0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #42A2EC

    #42A2EC

    oklch(68.9% 0.141 245.4)

  • #D58626

    #D58626

    oklch(68.8% 0.141 65.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42A2EC

    #42A2EC

    oklch(68.9% 0.141 245.4)

  • #00ADCA

    #00ADCA

    oklch(68.8% 0.122 215.4)

  • #8392F1

    #8392F1

    oklch(68.9% 0.14 275.3)

Open the analogous palette in the generator

Split complementary

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

  • #42A2EC

    #42A2EC

    oklch(68.9% 0.141 245.4)

  • #E4785C

    #E4785C

    oklch(68.9% 0.141 35.5)

  • #B69903

    #B69903

    oklch(68.9% 0.141 95.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42A2EC

    #42A2EC

    oklch(68.9% 0.141 245.4)

  • #E2728F

    #E2728F

    oklch(68.9% 0.142 5.1)

  • #86AA3E

    #86AA3E

    oklch(68.9% 0.141 125.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42A2EC

    #42A2EC

    oklch(68.9% 0.141 245.4)

  • #D077BD

    #D077BD

    oklch(68.9% 0.141 335.4)

  • #D58626

    #D58626

    oklch(68.8% 0.141 65.4)

  • #40B474

    #40B474

    oklch(68.8% 0.141 155.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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