#4064F8

Closest named color: Neon Blue (#4361EE). oklch(56.8% 0.224 267.9), rgb(64, 100, 248).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.224)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.39:1
White text4.77:1

Values

HEX#4064F8
RGBrgb(64, 100, 248)
HSLhsl(228, 93%, 61%)
OKLCHoklch(56.8% 0.224 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 #4064F8 4.77:1 AA Lc -78.0 Fine for body text
Black text on #4064F8 4.39:1 AA large text Lc 31.6 Non-text elements, placeholder text
#4064F8 text on white 4.77:1 AA Lc 72.5 Content text, not long reading
#4064F8 text on black 4.39:1 AA large text Lc -29.2 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)

    #4064F8

    oklch(56.8% 0.224 267.9)

  8. Step 700

    700

    #304ED4

    oklch(49.1% 0.208 267.8)

  9. Step 800

    800

    #2841AC

    oklch(42.8% 0.173 267.9)

  10. Step 900

    900

    #233988

    oklch(37.8% 0.135 267.6)

  11. Step 950

    950

    #15224F

    oklch(27% 0.084 268.2)

Export this scale for Tailwind in the Tailwind colors tool

#4064F8 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)#007BFD0.055
Deuteranopia (no green cones)#006AF50.033
Tritanopia (no blue cones)#008AA40.178
Achromatopsia (no color)#7272720.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #4064F8

    #4064F8

    oklch(56.8% 0.224 267.9)

  • #937200

    #937200

    oklch(56.9% 0.116 88.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4064F8

    #4064F8

    oklch(56.8% 0.224 267.9)

  • #0080B7

    #0080B7

    oklch(56.9% 0.125 237.4)

  • #8A49E6

    #8A49E6

    oklch(56.7% 0.224 297.8)

Open the analogous palette in the generator

Split complementary

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

  • #4064F8

    #4064F8

    oklch(56.8% 0.224 267.9)

  • #B05E00

    #B05E00

    oklch(56.7% 0.136 57.8)

  • #718000

    #718000

    oklch(56.8% 0.132 117.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4064F8

    #4064F8

    oklch(56.8% 0.224 267.9)

  • #DC1519

    #DC1519

    oklch(56.8% 0.224 27.9)

  • #008F37

    #008F37

    oklch(56.7% 0.165 147.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4064F8

    #4064F8

    oklch(56.8% 0.224 267.9)

  • #D31376

    #D31376

    oklch(56.8% 0.224 358.1)

  • #937200

    #937200

    oklch(56.9% 0.116 88.4)

  • #008A77

    #008A77

    oklch(56.7% 0.104 178.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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