#4062F4

Closest named color: Neon Blue (#4361EE). oklch(56.1% 0.221 268.2), rgb(64, 98, 244).

Aa

White text reads best on this color (4.91:1).

About this color

#4062F4 is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.221 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Neon Blue (#4361EE), ΔE 0.010 away. White text reads best on it, at 4.91:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.221)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.27:1
White text4.91:1

Values

HEX#4062F4
RGBrgb(64, 98, 244)
HSLhsl(229, 89%, 60%)
OKLCHoklch(56.1% 0.221 268.2)

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 #4062F4 4.91:1 AA Lc -78.9 Fine for body text
Black text on #4062F4 4.27:1 AA large text Lc 30.7 Non-text elements, placeholder text
#4062F4 text on white 4.91:1 AA Lc 73.4 Content text, not long reading
#4062F4 text on black 4.27:1 AA large text Lc -28.3 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E2EAFE

    oklch(93.7% 0.028 268.4)

  3. Step 200

    200

    #C9D9FF

    oklch(88.6% 0.055 267.2)

  4. Step 300

    300

    #A6BFFF

    oklch(80.9% 0.095 267.8)

  5. Step 400

    400

    #789AFF

    oklch(70.6% 0.153 268.3)

  6. Step 500

    500

    #587DFF

    oklch(63.1% 0.197 268.3)

  7. Step 600

    600 (this color)

    #4062F4

    oklch(56.1% 0.221 268.2)

  8. Step 700

    700

    #324ED3

    oklch(49.1% 0.206 268.3)

  9. Step 800

    800

    #2941AA

    oklch(42.6% 0.17 268.2)

  10. Step 900

    900

    #243987

    oklch(37.7% 0.133 268)

  11. Step 950

    950

    #15224F

    oklch(27% 0.084 268.2)

Export this scale for Tailwind in the Tailwind colors tool

#4062F4 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)#0079F90.056
Deuteranopia (no green cones)#0068F10.034
Tritanopia (no blue cones)#0087A20.174
Achromatopsia (no color)#7070700.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #4062F4

    #4062F4

    oklch(56.1% 0.221 268.2)

  • #917000

    #917000

    oklch(56.2% 0.115 88.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4062F4

    #4062F4

    oklch(56.1% 0.221 268.2)

  • #007DB5

    #007DB5

    oklch(56% 0.125 238.5)

  • #8948E2

    #8948E2

    oklch(56.2% 0.221 298.3)

Open the analogous palette in the generator

Split complementary

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

  • #4062F4

    #4062F4

    oklch(56.1% 0.221 268.2)

  • #AD5D00

    #AD5D00

    oklch(56.1% 0.134 58.2)

  • #6E7E00

    #6E7E00

    oklch(56% 0.131 118.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4062F4

    #4062F4

    oklch(56.1% 0.221 268.2)

  • #D81516

    #D81516

    oklch(56% 0.221 28.3)

  • #008D38

    #008D38

    oklch(56.1% 0.161 148.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4062F4

    #4062F4

    oklch(56.1% 0.221 268.2)

  • #D01274

    #D01274

    oklch(56.2% 0.222 358.2)

  • #917000

    #917000

    oklch(56.2% 0.115 88.1)

  • #008875

    #008875

    oklch(56.1% 0.103 178.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4062F4 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.