#51A1FF

Closest named color: Cornflower Blue (#6495ED). oklch(70.2% 0.159 254.1), rgb(81, 161, 255).

Aa

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

About this color

#51A1FF is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.159 and its hue 254°. 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.89:1.

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

Values

HEX#51A1FF
RGBrgb(81, 161, 255)
HSLhsl(212, 100%, 66%)
OKLCHoklch(70.2% 0.159 254.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 #51A1FF 2.66:1 Fails Lc -56.6 Large or bold text, headings
Black text on #51A1FF 7.89:1 AAA Lc 52.6 Large or bold text, headings
#51A1FF text on white 2.66:1 Fails Lc 51.4 Large or bold text, headings
#51A1FF text on black 7.89:1 AAA Lc -50.4 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

    #EFF6FF

    oklch(97% 0.014 254.6)

  2. Step 100

    100

    #DDEBFD

    oklch(93.5% 0.029 254.7)

  3. Step 200

    200

    #C1DCFE

    oklch(88.6% 0.055 254.3)

  4. Step 300

    300

    #94C4FF

    oklch(80.8% 0.098 254)

  5. Step 400

    400 (this color)

    #51A1FF

    oklch(70.2% 0.159 254.1)

  6. Step 500

    500

    #0088FE

    oklch(63.1% 0.201 253.9)

  7. Step 600

    600

    #0072D7

    oklch(55.6% 0.177 254)

  8. Step 700

    700

    #005FB6

    oklch(49% 0.157 254.2)

  9. Step 800

    800

    #004E97

    oklch(42.8% 0.136 254.1)

  10. Step 900

    900

    #00417F

    oklch(37.8% 0.12 253.9)

  11. Step 950

    950

    #01264E

    oklch(27% 0.084 254)

Export this scale for Tailwind in the Tailwind colors tool

#51A1FF 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)#76A7FF0.041
Deuteranopia (no green cones)#5D97FD0.026
Tritanopia (no blue cones)#00B7C40.124
Achromatopsia (no color)#9F9F9F0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #51A1FF

    #51A1FF

    oklch(70.2% 0.159 254.1)

  • #D58E00

    #D58E00

    oklch(70.1% 0.149 73.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51A1FF

    #51A1FF

    oklch(70.2% 0.159 254.1)

  • #00AFDB

    #00AFDB

    oklch(70.1% 0.132 224.2)

  • #958EFD

    #958EFD

    oklch(70.1% 0.159 284.4)

Open the analogous palette in the generator

Split complementary

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

  • #51A1FF

    #51A1FF

    oklch(70.2% 0.159 254.1)

  • #EE7943

    #EE7943

    oklch(70.1% 0.16 43.9)

  • #AFA200

    #AFA200

    oklch(70.1% 0.148 103.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51A1FF

    #51A1FF

    oklch(70.2% 0.159 254.1)

  • #F17080

    #F17080

    oklch(70.3% 0.159 14.4)

  • #74B444

    #74B444

    oklch(70.3% 0.159 134)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51A1FF

    #51A1FF

    oklch(70.2% 0.159 254.1)

  • #E272B7

    #E272B7

    oklch(70.2% 0.16 344.2)

  • #D58E00

    #D58E00

    oklch(70.1% 0.149 73.7)

  • #00BB86

    #00BB86

    oklch(70.1% 0.149 164.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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