#51A2FE

Closest named color: Cornflower Blue (#6495ED). oklch(70.3% 0.157 253.4), rgb(81, 162, 254).

Aa

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

About this color

#51A2FE is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.157 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.039 away. Black text reads best on it, at 7.94:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromavivid (0.157)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.94:1
White text2.64:1

Values

HEX#51A2FE
RGBrgb(81, 162, 254)
HSLhsl(212, 99%, 66%)
OKLCHoklch(70.3% 0.157 253.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 #51A2FE 2.64:1 Fails Lc -56.3 Large or bold text, headings
Black text on #51A2FE 7.94:1 AAA Lc 52.9 Large or bold text, headings
#51A2FE text on white 2.64:1 Fails Lc 51.1 Large or bold text, headings
#51A2FE text on black 7.94: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

    #EFF6FE

    oklch(97% 0.013 251.6)

  2. Step 100

    100

    #DDEBFD

    oklch(93.5% 0.029 254.7)

  3. Step 200

    200

    #C1DCFD

    oklch(88.5% 0.054 253.6)

  4. Step 300

    300

    #94C4FF

    oklch(80.8% 0.098 254)

  5. Step 400

    400 (this color)

    #51A2FE

    oklch(70.3% 0.157 253.4)

  6. Step 500

    500

    #0089FC

    oklch(63.2% 0.197 253.3)

  7. Step 600

    600

    #0073D5

    oklch(55.7% 0.173 253.3)

  8. Step 700

    700

    #0060B4

    oklch(49.1% 0.153 253.4)

  9. Step 800

    800

    #004E95

    oklch(42.6% 0.134 253.6)

  10. Step 900

    900

    #00417E

    oklch(37.7% 0.118 253.6)

  11. Step 950

    950

    #01264D

    oklch(26.9% 0.083 253.5)

Export this scale for Tailwind in the Tailwind colors tool

#51A2FE 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)#79A8FF0.043
Deuteranopia (no green cones)#5F98FC0.027
Tritanopia (no blue cones)#00B7C40.121
Achromatopsia (no color)#9F9F9F0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #51A2FE

    #51A2FE

    oklch(70.3% 0.157 253.4)

  • #D68E00

    #D68E00

    oklch(70.2% 0.149 73.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51A2FE

    #51A2FE

    oklch(70.3% 0.157 253.4)

  • #00B0DB

    #00B0DB

    oklch(70.3% 0.131 223.5)

  • #9490FD

    #9490FD

    oklch(70.4% 0.157 283.3)

Open the analogous palette in the generator

Split complementary

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

  • #51A2FE

    #51A2FE

    oklch(70.3% 0.157 253.4)

  • #EE7A47

    #EE7A47

    oklch(70.3% 0.157 43.2)

  • #B0A200

    #B0A200

    oklch(70.2% 0.148 103.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51A2FE

    #51A2FE

    oklch(70.3% 0.157 253.4)

  • #F07183

    #F07183

    oklch(70.3% 0.157 13.2)

  • #76B445

    #76B445

    oklch(70.4% 0.157 133.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51A2FE

    #51A2FE

    oklch(70.3% 0.157 253.4)

  • #E174B8

    #E174B8

    oklch(70.4% 0.156 343.6)

  • #D68E00

    #D68E00

    oklch(70.2% 0.149 73.3)

  • #00BC85

    #00BC85

    oklch(70.4% 0.151 163.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51A2FE 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.