#5274F8

Closest named color: Cornflower (#6A79F7). oklch(60.6% 0.2 268.8), rgb(82, 116, 248).

Aa

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

About this color

#5274F8 is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.200 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.033 away. Black text reads best on it, at 5.21:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.200)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.21:1
White text4.02:1

Values

HEX#5274F8
RGBrgb(82, 116, 248)
HSLhsl(228, 92%, 65%)
OKLCHoklch(60.6% 0.2 268.8)

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 #5274F8 4.02:1 AA large text Lc -72.6 Content text, not long reading
Black text on #5274F8 5.21:1 AA Lc 36.9 Non-text elements, placeholder text
#5274F8 text on white 4.02:1 AA large text Lc 67.1 Content text, not long reading
#5274F8 text on black 5.21:1 AA Lc -34.5 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

    #CAD8FE

    oklch(88.4% 0.055 269.3)

  4. Step 300

    300

    #A7BFFF

    oklch(81% 0.095 268.4)

  5. Step 400

    400

    #7A9AFF

    oklch(70.7% 0.152 269)

  6. Step 500

    500 (this color)

    #5274F8

    oklch(60.6% 0.2 268.8)

  7. Step 600

    600

    #4260F0

    oklch(55.5% 0.218 269)

  8. Step 700

    700

    #344ED1

    oklch(49% 0.203 268.8)

  9. Step 800

    800

    #2B41A9

    oklch(42.6% 0.168 268.8)

  10. Step 900

    900

    #263986

    oklch(37.7% 0.131 268.8)

  11. Step 950

    950

    #16224E

    oklch(26.9% 0.083 268.8)

Export this scale for Tailwind in the Tailwind colors tool

#5274F8 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)#0E86FD0.053
Deuteranopia (no green cones)#0077F50.046
Tritanopia (no blue cones)#0094AB0.165
Achromatopsia (no color)#7F7F7F0.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #5274F8

    #5274F8

    oklch(60.6% 0.2 268.8)

  • #A07D00

    #A07D00

    oklch(60.6% 0.124 88.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5274F8

    #5274F8

    oklch(60.6% 0.2 268.8)

  • #008BCA

    #008BCA

    oklch(60.6% 0.137 239)

  • #955DE7

    #955DE7

    oklch(60.6% 0.201 299)

Open the analogous palette in the generator

Split complementary

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

  • #5274F8

    #5274F8

    oklch(60.6% 0.2 268.8)

  • #BF6800

    #BF6800

    oklch(60.5% 0.144 58.7)

  • #7A8D00

    #7A8D00

    oklch(60.7% 0.142 118.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5274F8

    #5274F8

    oklch(60.6% 0.2 268.8)

  • #E13F33

    #E13F33

    oklch(60.7% 0.201 28.7)

  • #009C42

    #009C42

    oklch(60.5% 0.171 148.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5274F8

    #5274F8

    oklch(60.6% 0.2 268.8)

  • #D93C80

    #D93C80

    oklch(60.7% 0.2 358.7)

  • #A07D00

    #A07D00

    oklch(60.6% 0.124 88.9)

  • #009783

    #009783

    oklch(60.6% 0.111 178.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5274F8.

Similar named colors

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

Use #5274F8 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.