#507FC7

Closest named color: Cool Blue (#4984B8). oklch(59.6% 0.122 258.7), rgb(80, 127, 199).

Aa

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

About this color

#507FC7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.122 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.031 away. Black text reads best on it, at 5.20:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.122)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.20:1
White text4.03:1

Values

HEX#507FC7
RGBrgb(80, 127, 199)
HSLhsl(216, 52%, 55%)
OKLCHoklch(59.6% 0.122 258.7)

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 #507FC7 4.03:1 AA large text Lc -72.9 Content text, not long reading
Black text on #507FC7 5.20:1 AA Lc 36.6 Non-text elements, placeholder text
#507FC7 text on white 4.03:1 AA large text Lc 67.4 Content text, not long reading
#507FC7 text on black 5.20:1 AA Lc -34.2 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CCDAF0

    oklch(88.5% 0.034 259.4)

  4. Step 300

    300

    #AAC2E8

    oklch(80.9% 0.06 259.5)

  5. Step 400

    400

    #7CA2DC

    oklch(70.7% 0.095 258.6)

  6. Step 500

    500 (this color)

    #507FC7

    oklch(59.6% 0.122 258.7)

  7. Step 600

    600

    #4072C0

    oklch(55.6% 0.133 259)

  8. Step 700

    700

    #315FA6

    oklch(49% 0.125 258.9)

  9. Step 800

    800

    #2A4E86

    oklch(42.7% 0.102 259)

  10. Step 900

    900

    #26416B

    oklch(37.6% 0.08 258.9)

  11. Step 950

    950

    #17273F

    oklch(27.2% 0.05 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#507FC7 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)#6185CA0.027
Deuteranopia (no green cones)#5179C50.016
Tritanopia (no blue cones)#008F990.105
Achromatopsia (no color)#7E7E7E0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #507FC7

    #507FC7

    oklch(59.6% 0.122 258.7)

  • #A67507

    #A67507

    oklch(59.7% 0.122 78.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #507FC7

    #507FC7

    oklch(59.6% 0.122 258.7)

  • #008BB6

    #008BB6

    oklch(59.5% 0.117 228.9)

  • #7D71C3

    #7D71C3

    oklch(59.5% 0.123 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #507FC7

    #507FC7

    oklch(59.6% 0.122 258.7)

  • #B86637

    #B86637

    oklch(59.5% 0.122 48.6)

  • #868416

    #868416

    oklch(59.6% 0.122 108.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #507FC7

    #507FC7

    oklch(59.6% 0.122 258.7)

  • #BD5E62

    #BD5E62

    oklch(59.7% 0.122 18.9)

  • #579046

    #579046

    oklch(59.6% 0.122 138.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #507FC7

    #507FC7

    oklch(59.6% 0.122 258.7)

  • #B35E8B

    #B35E8B

    oklch(59.5% 0.122 348.5)

  • #A67507

    #A67507

    oklch(59.7% 0.122 78.9)

  • #009572

    #009572

    oklch(59.5% 0.119 168.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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