#34AFF2

Closest named color: Deep Sky Blue (#00BFFF). oklch(71.8% 0.143 238.1), rgb(52, 175, 242).

Aa

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

About this color

#34AFF2 is a medium-light, vivid blue. In OKLCH its lightness is 72%, its chroma 0.143 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sky Blue (#00BFFF), ΔE 0.043 away. Black text reads best on it, at 8.56:1.

Hue familyBlues
Lightnessmedium-light (72%)
Chromavivid (0.143)
Temperaturecool
Nearest nameDeep Sky Blue (#00BFFF)
Black text8.56:1
White text2.45:1

Values

HEX#34AFF2
RGBrgb(52, 175, 242)
HSLhsl(201, 88%, 58%)
OKLCHoklch(71.8% 0.143 238.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 #34AFF2 2.45:1 Fails Lc -52.8 Large or bold text, headings
Black text on #34AFF2 8.56:1 AAA Lc 56.2 Large or bold text, headings
#34AFF2 text on white 2.45:1 Fails Lc 47.8 Large or bold text, headings
#34AFF2 text on black 8.56:1 AAA Lc -54.2 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

    #EEF7FD

    oklch(97.1% 0.013 236.6)

  2. Step 100

    100

    #DBEDF9

    oklch(93.6% 0.025 236.8)

  3. Step 200

    200

    #BCDFF7

    oklch(88.6% 0.05 238.1)

  4. Step 300

    300

    #89C9F4

    oklch(80.8% 0.089 238.7)

  5. Step 400

    400 (this color)

    #34AFF2

    oklch(71.8% 0.143 238.1)

  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

    #00557C

    oklch(42.7% 0.094 237.9)

  10. Step 900

    900

    #004768

    oklch(37.7% 0.083 237.5)

  11. Step 950

    950

    #002A40

    oklch(27% 0.06 237.8)

Export this scale for Tailwind in the Tailwind colors tool

#34AFF2 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)#8FAFF50.078
Deuteranopia (no green cones)#759EF10.062
Tritanopia (no blue cones)#00C0C60.093
Achromatopsia (no color)#A5A5A50.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #34AFF2

    #34AFF2

    oklch(71.8% 0.143 238.1)

  • #E58B3D

    #E58B3D

    oklch(71.8% 0.142 58.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34AFF2

    #34AFF2

    oklch(71.8% 0.143 238.1)

  • #00B9CC

    #00B9CC

    oklch(71.9% 0.123 207.8)

  • #7E9FFD

    #7E9FFD

    oklch(71.8% 0.142 268.1)

Open the analogous palette in the generator

Split complementary

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

  • #34AFF2

    #34AFF2

    oklch(71.8% 0.143 238.1)

  • #F07E70

    #F07E70

    oklch(71.8% 0.143 28.4)

  • #C99D15

    #C99D15

    oklch(71.7% 0.142 87.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34AFF2

    #34AFF2

    oklch(71.8% 0.143 238.1)

  • #E97BA3

    #E97BA3

    oklch(71.7% 0.142 358.2)

  • #9CAF39

    #9CAF39

    oklch(71.7% 0.142 118)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34AFF2

    #34AFF2

    oklch(71.8% 0.143 238.1)

  • #D382D1

    #D382D1

    oklch(71.8% 0.142 327.8)

  • #E58B3D

    #E58B3D

    oklch(71.8% 0.142 58.1)

  • #5DBC6F

    #5DBC6F

    oklch(71.8% 0.143 148.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34AFF2 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.