#51A2FC

Closest named color: Cornflower Blue (#6495ED). oklch(70.2% 0.155 252.9), rgb(81, 162, 252).

Aa

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

About this color

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

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

Values

HEX#51A2FC
RGBrgb(81, 162, 252)
HSLhsl(212, 97%, 65%)
OKLCHoklch(70.2% 0.155 252.9)

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 #51A2FC 2.65:1 Fails Lc -56.5 Large or bold text, headings
Black text on #51A2FC 7.92:1 AAA Lc 52.7 Large or bold text, headings
#51A2FC text on white 2.65:1 Fails Lc 51.3 Large or bold text, headings
#51A2FC text on black 7.92:1 AAA Lc -50.6 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  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

    #94C5FE

    oklch(81% 0.096 252.7)

  5. Step 400

    400 (this color)

    #51A2FC

    oklch(70.2% 0.155 252.9)

  6. Step 500

    500

    #0089FA

    oklch(63.1% 0.195 253)

  7. Step 600

    600

    #0073D3

    oklch(55.6% 0.171 252.9)

  8. Step 700

    700

    #0060B3

    oklch(49% 0.152 253.2)

  9. Step 800

    800

    #004F94

    oklch(42.8% 0.131 252.8)

  10. Step 900

    900

    #00417D

    oklch(37.6% 0.117 253.3)

  11. Step 950

    950

    #01264D

    oklch(26.9% 0.083 253.5)

Export this scale for Tailwind in the Tailwind colors tool

#51A2FC 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)#7AA8FF0.045
Deuteranopia (no green cones)#6198FA0.027
Tritanopia (no blue cones)#00B7C30.120
Achromatopsia (no color)#9F9F9F0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #51A2FC

    #51A2FC

    oklch(70.2% 0.155 252.9)

  • #D68E00

    #D68E00

    oklch(70.2% 0.149 73.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51A2FC

    #51A2FC

    oklch(70.2% 0.155 252.9)

  • #00B0DA

    #00B0DA

    oklch(70.3% 0.131 222.9)

  • #9390FB

    #9390FB

    oklch(70.2% 0.154 283)

Open the analogous palette in the generator

Split complementary

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

  • #51A2FC

    #51A2FC

    oklch(70.2% 0.155 252.9)

  • #ED7A49

    #ED7A49

    oklch(70.2% 0.156 42.7)

  • #B1A200

    #B1A200

    oklch(70.3% 0.148 102.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51A2FC

    #51A2FC

    oklch(70.2% 0.155 252.9)

  • #EF7284

    #EF7284

    oklch(70.4% 0.154 12.9)

  • #78B345

    #78B345

    oklch(70.3% 0.155 132.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51A2FC

    #51A2FC

    oklch(70.2% 0.155 252.9)

  • #DF74B8

    #DF74B8

    oklch(70.1% 0.155 343)

  • #D68E00

    #D68E00

    oklch(70.2% 0.149 73.3)

  • #00BC83

    #00BC83

    oklch(70.3% 0.153 162.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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