#4064FA

Closest named color: Neon Blue (#4361EE). oklch(57% 0.227 267.9), rgb(64, 100, 250).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.227)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.42:1
White text4.74:1

Values

HEX#4064FA
RGBrgb(64, 100, 250)
HSLhsl(228, 95%, 62%)
OKLCHoklch(57% 0.227 267.9)

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 #4064FA 4.74:1 AA Lc -77.8 Fine for body text
Black text on #4064FA 4.42:1 AA large text Lc 31.8 Non-text elements, placeholder text
#4064FA text on white 4.74:1 AA Lc 72.3 Content text, not long reading
#4064FA text on black 4.42:1 AA large text Lc -29.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

    #789BFF

    oklch(70.8% 0.152 267.9)

  6. Step 500

    500

    #577DFF

    oklch(63.1% 0.197 268)

  7. Step 600

    600 (this color)

    #4064FA

    oklch(57% 0.227 267.9)

  8. Step 700

    700

    #304DD6

    oklch(49.1% 0.212 268)

  9. Step 800

    800

    #2841AD

    oklch(42.9% 0.174 267.9)

  10. Step 900

    900

    #233888

    oklch(37.5% 0.136 268)

  11. Step 950

    950

    #142250

    oklch(27% 0.086 267.5)

Export this scale for Tailwind in the Tailwind colors tool

#4064FA 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)#007CFF0.057
Deuteranopia (no green cones)#006AF70.033
Tritanopia (no blue cones)#008AA60.177
Achromatopsia (no color)#7373730.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #4064FA

    #4064FA

    oklch(57% 0.227 267.9)

  • #947200

    #947200

    oklch(57% 0.116 87.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4064FA

    #4064FA

    oklch(57% 0.227 267.9)

  • #0080B8

    #0080B8

    oklch(56.9% 0.126 237.9)

  • #8B49E8

    #8B49E8

    oklch(57% 0.226 297.7)

Open the analogous palette in the generator

Split complementary

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

  • #4064FA

    #4064FA

    oklch(57% 0.227 267.9)

  • #B15F00

    #B15F00

    oklch(57% 0.136 58.1)

  • #718100

    #718100

    oklch(57% 0.133 118.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4064FA

    #4064FA

    oklch(57% 0.227 267.9)

  • #DE1217

    #DE1217

    oklch(57.1% 0.227 28)

  • #009038

    #009038

    oklch(57% 0.165 148)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4064FA

    #4064FA

    oklch(57% 0.227 267.9)

  • #D40F77

    #D40F77

    oklch(56.9% 0.226 357.8)

  • #947200

    #947200

    oklch(57% 0.116 87.8)

  • #008B77

    #008B77

    oklch(57% 0.105 177.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4064FA 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.