#4062F5

Closest named color: Neon Blue (#4361EE). oklch(56.2% 0.223 268.2), rgb(64, 98, 245).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.223)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.28:1
White text4.90:1

Values

HEX#4062F5
RGBrgb(64, 98, 245)
HSLhsl(229, 90%, 61%)
OKLCHoklch(56.2% 0.223 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 #4062F5 4.90:1 AA Lc -78.8 Fine for body text
Black text on #4062F5 4.28:1 AA large text Lc 30.8 Non-text elements, placeholder text
#4062F5 text on white 4.90:1 AA Lc 73.3 Content text, not long reading
#4062F5 text on black 4.28:1 AA large text Lc -28.4 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

    #E1EAFE

    oklch(93.6% 0.029 266.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)

    #4062F5

    oklch(56.2% 0.223 268.2)

  8. Step 700

    700

    #324ED4

    oklch(49.2% 0.207 268.3)

  9. Step 800

    800

    #2941AB

    oklch(42.7% 0.172 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

#4062F5 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)#0079FA0.056
Deuteranopia (no green cones)#0068F20.034
Tritanopia (no blue cones)#0088A20.177
Achromatopsia (no color)#7171710.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #4062F5

    #4062F5

    oklch(56.2% 0.223 268.2)

  • #917000

    #917000

    oklch(56.2% 0.115 88.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4062F5

    #4062F5

    oklch(56.2% 0.223 268.2)

  • #007EB5

    #007EB5

    oklch(56.3% 0.124 237.8)

  • #8947E3

    #8947E3

    oklch(56.2% 0.223 298.2)

Open the analogous palette in the generator

Split complementary

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

  • #4062F5

    #4062F5

    oklch(56.2% 0.223 268.2)

  • #AD5D00

    #AD5D00

    oklch(56.1% 0.134 58.2)

  • #6F7F00

    #6F7F00

    oklch(56.4% 0.131 118.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4062F5

    #4062F5

    oklch(56.2% 0.223 268.2)

  • #D91316

    #D91316

    oklch(56.1% 0.222 28.1)

  • #008D38

    #008D38

    oklch(56.1% 0.161 148.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4062F5

    #4062F5

    oklch(56.2% 0.223 268.2)

  • #D01074

    #D01074

    oklch(56.1% 0.222 358.1)

  • #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 #4062F5, closest first.

Similar named colors

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

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