#4F7DEC

Closest named color: Cornflower (#6A79F7). oklch(61.4% 0.175 264.8), rgb(79, 125, 236).

Aa

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

About this color

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

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

Values

HEX#4F7DEC
RGBrgb(79, 125, 236)
HSLhsl(222, 81%, 62%)
OKLCHoklch(61.4% 0.175 264.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 #4F7DEC 3.83:1 AA large text Lc -71.0 Content text, not long reading
Black text on #4F7DEC 5.47:1 AA Lc 38.6 Non-text elements, placeholder text
#4F7DEC text on white 3.83:1 AA large text Lc 65.5 Content text, not long reading
#4F7DEC text on black 5.47:1 AA Lc -36.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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CAD9F9

    oklch(88.4% 0.047 265.5)

  4. Step 300

    300

    #A6C0F9

    oklch(80.9% 0.086 265.5)

  5. Step 400

    400

    #769EF6

    oklch(70.8% 0.137 264.6)

  6. Step 500

    500 (this color)

    #4F7DEC

    oklch(61.4% 0.175 264.8)

  7. Step 600

    600

    #3A69E1

    oklch(55.7% 0.19 264.7)

  8. Step 700

    700

    #2D56C3

    oklch(49% 0.177 264.9)

  9. Step 800

    800

    #26479E

    oklch(42.7% 0.147 265)

  10. Step 900

    900

    #233D7D

    oklch(37.7% 0.113 264.9)

  11. Step 950

    950

    #152449

    oklch(27% 0.072 265.3)

Export this scale for Tailwind in the Tailwind colors tool

#4F7DEC 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)#438AF00.033
Deuteranopia (no green cones)#1F7BEA0.036
Tritanopia (no blue cones)#0097A90.144
Achromatopsia (no color)#8282820.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F7DEC

    #4F7DEC

    oklch(61.4% 0.175 264.8)

  • #A77D00

    #A77D00

    oklch(61.4% 0.126 84.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F7DEC

    #4F7DEC

    oklch(61.4% 0.175 264.8)

  • #008FC6

    #008FC6

    oklch(61.3% 0.13 234.7)

  • #8E69E1

    #8E69E1

    oklch(61.4% 0.176 294.9)

Open the analogous palette in the generator

Split complementary

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

  • #4F7DEC

    #4F7DEC

    oklch(61.4% 0.175 264.8)

  • #C86600

    #C86600

    oklch(61.4% 0.153 54.6)

  • #838D00

    #838D00

    oklch(61.4% 0.139 114.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F7DEC

    #4F7DEC

    oklch(61.4% 0.175 264.8)

  • #D94F4C

    #D94F4C

    oklch(61.4% 0.174 24.9)

  • #299E37

    #299E37

    oklch(61.4% 0.175 144.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F7DEC

    #4F7DEC

    oklch(61.4% 0.175 264.8)

  • #D04E8A

    #D04E8A

    oklch(61.4% 0.174 354.8)

  • #A77D00

    #A77D00

    oklch(61.4% 0.126 84.9)

  • #009B80

    #009B80

    oklch(61.5% 0.117 174.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4F7DEC 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.