#42A8E4

Closest named color: Chefchaouen Blue (#4895EF). oklch(69.8% 0.128 238.5), rgb(66, 168, 228).

Aa

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

About this color

#42A8E4 is a medium-light, moderately saturated blue. In OKLCH its lightness is 70%, its chroma 0.128 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.058 away. Black text reads best on it, at 7.95:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.95:1
White text2.64:1

Values

HEX#42A8E4
RGBrgb(66, 168, 228)
HSLhsl(202, 75%, 58%)
OKLCHoklch(69.8% 0.128 238.5)

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 #42A8E4 2.64:1 Fails Lc -56.3 Large or bold text, headings
Black text on #42A8E4 7.95:1 AAA Lc 52.9 Large or bold text, headings
#42A8E4 text on white 2.64:1 Fails Lc 51.1 Large or bold text, headings
#42A8E4 text on black 7.95:1 AAA Lc -50.8 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

    #DCECF8

    oklch(93.5% 0.024 240.1)

  3. Step 200

    200

    #BFDEF4

    oklch(88.5% 0.045 238.9)

  4. Step 300

    300

    #90C9EF

    oklch(81% 0.08 238.2)

  5. Step 400

    400 (this color)

    #42A8E4

    oklch(69.8% 0.128 238.5)

  6. Step 500

    500

    #0093D4

    oklch(63% 0.141 238.5)

  7. Step 600

    600

    #007CB3

    oklch(55.7% 0.124 238.2)

  8. Step 700

    700

    #006897

    oklch(49.1% 0.109 238.1)

  9. Step 800

    800

    #00557D

    oklch(42.7% 0.096 238.5)

  10. Step 900

    900

    #004769

    oklch(37.8% 0.084 238.3)

  11. Step 950

    950

    #002A40

    oklch(27% 0.06 237.8)

Export this scale for Tailwind in the Tailwind colors tool

#42A8E4 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)#8CA8E70.071
Deuteranopia (no green cones)#7698E30.058
Tritanopia (no blue cones)#00B7BD0.085
Achromatopsia (no color)#9F9F9F0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #42A8E4

    #42A8E4

    oklch(69.8% 0.128 238.5)

  • #D88845

    #D88845

    oklch(69.8% 0.128 58.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42A8E4

    #42A8E4

    oklch(69.8% 0.128 238.5)

  • #00B2C5

    #00B2C5

    oklch(69.9% 0.12 208.2)

  • #7D9AEE

    #7D9AEE

    oklch(70% 0.128 268.5)

Open the analogous palette in the generator

Split complementary

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

  • #42A8E4

    #42A8E4

    oklch(69.8% 0.128 238.5)

  • #E27D70

    #E27D70

    oklch(69.8% 0.127 28.4)

  • #BE992C

    #BE992C

    oklch(69.9% 0.128 89)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42A8E4

    #42A8E4

    oklch(69.8% 0.128 238.5)

  • #DD7A9D

    #DD7A9D

    oklch(69.9% 0.128 358.4)

  • #96A944

    #96A944

    oklch(69.9% 0.128 118.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42A8E4

    #42A8E4

    oklch(69.8% 0.128 238.5)

  • #C980C5

    #C980C5

    oklch(69.9% 0.127 328.8)

  • #D88845

    #D88845

    oklch(69.8% 0.128 58.3)

  • #60B470

    #60B470

    oklch(69.9% 0.129 148.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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