#507CEF

Closest named color: Cornflower (#6A79F7). oklch(61.4% 0.18 265.6), rgb(80, 124, 239).

Aa

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

About this color

#507CEF is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.180 and its hue 266°. 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.47:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.180)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.47:1
White text3.83:1

Values

HEX#507CEF
RGBrgb(80, 124, 239)
HSLhsl(223, 83%, 63%)
OKLCHoklch(61.4% 0.18 265.6)

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 #507CEF 3.83:1 AA large text Lc -71.0 Content text, not long reading
Black text on #507CEF 5.47:1 AA Lc 38.5 Non-text elements, placeholder text
#507CEF text on white 3.83:1 AA large text Lc 65.5 Content text, not long reading
#507CEF text on black 5.47: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CAD9FA

    oklch(88.5% 0.048 266)

  4. Step 300

    300

    #A6C0FA

    oklch(80.9% 0.087 265.8)

  5. Step 400

    400

    #769DF8

    oklch(70.7% 0.141 265.4)

  6. Step 500

    500 (this color)

    #507CEF

    oklch(61.4% 0.18 265.6)

  7. Step 600

    600

    #3B67E4

    oklch(55.6% 0.196 265.6)

  8. Step 700

    700

    #2E55C6

    oklch(49.1% 0.182 265.5)

  9. Step 800

    800

    #2746A0

    oklch(42.7% 0.151 265.8)

  10. Step 900

    900

    #233C7F

    oklch(37.7% 0.118 265.6)

  11. Step 950

    950

    #15244A

    oklch(27% 0.073 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#507CEF 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)#3E8AF30.036
Deuteranopia (no green cones)#127BED0.041
Tritanopia (no blue cones)#0097AA0.148
Achromatopsia (no color)#8282820.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #507CEF

    #507CEF

    oklch(61.4% 0.18 265.6)

  • #A67D00

    #A67D00

    oklch(61.3% 0.126 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #507CEF

    #507CEF

    oklch(61.4% 0.18 265.6)

  • #008FC8

    #008FC8

    oklch(61.4% 0.132 235.7)

  • #9068E2

    #9068E2

    oklch(61.5% 0.179 295.8)

Open the analogous palette in the generator

Split complementary

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

  • #507CEF

    #507CEF

    oklch(61.4% 0.18 265.6)

  • #C76700

    #C76700

    oklch(61.5% 0.151 55.5)

  • #828E00

    #828E00

    oklch(61.6% 0.14 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #507CEF

    #507CEF

    oklch(61.4% 0.18 265.6)

  • #DC4D48

    #DC4D48

    oklch(61.6% 0.18 25.9)

  • #1C9F37

    #1C9F37

    oklch(61.4% 0.179 145.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #507CEF

    #507CEF

    oklch(61.4% 0.18 265.6)

  • #D34B89

    #D34B89

    oklch(61.5% 0.18 355.6)

  • #A67D00

    #A67D00

    oklch(61.3% 0.126 85.4)

  • #009B81

    #009B81

    oklch(61.6% 0.116 175.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #507CEF.

Similar named colors

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

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