#507CEC

Closest named color: Cornflower (#6A79F7). oklch(61.2% 0.176 265.4), rgb(80, 124, 236).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.176)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.43:1
White text3.86:1

Values

HEX#507CEC
RGBrgb(80, 124, 236)
HSLhsl(223, 80%, 62%)
OKLCHoklch(61.2% 0.176 265.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 #507CEC 3.86:1 AA large text Lc -71.3 Content text, not long reading
Black text on #507CEC 5.43:1 AA Lc 38.3 Non-text elements, placeholder text
#507CEC text on white 3.86:1 AA large text Lc 65.8 Content text, not long reading
#507CEC text on black 5.43:1 AA Lc -35.9 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CAD9FA

    oklch(88.5% 0.048 266)

  4. Step 300

    300

    #A6C0F9

    oklch(80.9% 0.086 265.5)

  5. Step 400

    400

    #779DF6

    oklch(70.6% 0.138 265.5)

  6. Step 500

    500 (this color)

    #507CEC

    oklch(61.2% 0.176 265.4)

  7. Step 600

    600

    #3C68E1

    oklch(55.6% 0.191 265.4)

  8. Step 700

    700

    #2F56C4

    oklch(49.2% 0.178 265.4)

  9. Step 800

    800

    #27479E

    oklch(42.7% 0.147 265.3)

  10. Step 900

    900

    #243D7E

    oklch(37.9% 0.114 265.4)

  11. Step 950

    950

    #15244A

    oklch(27% 0.073 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#507CEC 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)#4189F00.033
Deuteranopia (no green cones)#1C7BEA0.038
Tritanopia (no blue cones)#0096A90.144
Achromatopsia (no color)#8282820.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #507CEC

    #507CEC

    oklch(61.2% 0.176 265.4)

  • #A67D00

    #A67D00

    oklch(61.3% 0.126 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #507CEC

    #507CEC

    oklch(61.2% 0.176 265.4)

  • #008EC7

    #008EC7

    oklch(61.1% 0.131 235.8)

  • #8E68E0

    #8E68E0

    oklch(61.2% 0.176 295.3)

Open the analogous palette in the generator

Split complementary

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

  • #507CEC

    #507CEC

    oklch(61.2% 0.176 265.4)

  • #C66600

    #C66600

    oklch(61.2% 0.151 55.2)

  • #818D00

    #818D00

    oklch(61.2% 0.14 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #507CEC

    #507CEC

    oklch(61.2% 0.176 265.4)

  • #D94E4A

    #D94E4A

    oklch(61.2% 0.175 25.4)

  • #239E38

    #239E38

    oklch(61.3% 0.176 145.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #507CEC

    #507CEC

    oklch(61.2% 0.176 265.4)

  • #D04D88

    #D04D88

    oklch(61.2% 0.175 355.6)

  • #A67D00

    #A67D00

    oklch(61.3% 0.126 85.4)

  • #009A80

    #009A80

    oklch(61.3% 0.115 175)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #507CEC 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.