#5278FC

Closest named color: Cornflower (#6A79F7). oklch(61.7% 0.201 267.9), rgb(82, 120, 252).

Aa

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

About this color

#5278FC is a medium-dark, vivid blue. In OKLCH its lightness is 62%, its chroma 0.201 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.029 away. Black text reads best on it, at 5.45:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.201)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.45:1
White text3.85:1

Values

HEX#5278FC
RGBrgb(82, 120, 252)
HSLhsl(227, 97%, 65%)
OKLCHoklch(61.7% 0.201 267.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 #5278FC 3.85:1 AA large text Lc -71.1 Content text, not long reading
Black text on #5278FC 5.45:1 AA Lc 38.5 Non-text elements, placeholder text
#5278FC text on white 3.85:1 AA large text Lc 65.6 Content text, not long reading
#5278FC text on black 5.45:1 AA Lc -36.1 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2EAFE

    oklch(93.7% 0.028 268.4)

  3. Step 200

    200

    #C9D9FE

    oklch(88.5% 0.054 266.8)

  4. Step 300

    300

    #A6BFFF

    oklch(80.9% 0.095 267.8)

  5. Step 400

    400

    #789BFF

    oklch(70.8% 0.152 267.9)

  6. Step 500

    500 (this color)

    #5278FC

    oklch(61.7% 0.201 267.9)

  7. Step 600

    600

    #3E61F1

    oklch(55.6% 0.219 267.9)

  8. Step 700

    700

    #314FD1

    oklch(49.1% 0.203 267.8)

  9. Step 800

    800

    #2942A9

    oklch(42.7% 0.168 268)

  10. Step 900

    900

    #243986

    oklch(37.6% 0.132 267.9)

  11. Step 950

    950

    #15224E

    oklch(26.9% 0.083 268)

Export this scale for Tailwind in the Tailwind colors tool

#5278FC 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)#1B8AFF0.051
Deuteranopia (no green cones)#007AF90.045
Tritanopia (no blue cones)#0098AF0.164
Achromatopsia (no color)#8282820.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #5278FC

    #5278FC

    oklch(61.7% 0.201 267.9)

  • #A57F00

    #A57F00

    oklch(61.6% 0.126 87.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5278FC

    #5278FC

    oklch(61.7% 0.201 267.9)

  • #008FCD

    #008FCD

    oklch(61.7% 0.137 237.9)

  • #9661EC

    #9661EC

    oklch(61.7% 0.201 297.8)

Open the analogous palette in the generator

Split complementary

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

  • #5278FC

    #5278FC

    oklch(61.7% 0.201 267.9)

  • #C56A00

    #C56A00

    oklch(61.7% 0.148 57.8)

  • #7E9000

    #7E9000

    oklch(61.7% 0.144 118.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5278FC

    #5278FC

    oklch(61.7% 0.201 267.9)

  • #E54239

    #E54239

    oklch(61.7% 0.201 27.8)

  • #00A03F

    #00A03F

    oklch(61.5% 0.178 148)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5278FC

    #5278FC

    oklch(61.7% 0.201 267.9)

  • #DC3F85

    #DC3F85

    oklch(61.6% 0.201 357.7)

  • #A57F00

    #A57F00

    oklch(61.6% 0.126 87.5)

  • #009B85

    #009B85

    oklch(61.7% 0.114 177.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5278FC.

Similar named colors

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

Use #5278FC 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.