#4065EC

Closest named color: Neon Blue (#4361EE). oklch(56% 0.208 267.5), rgb(64, 101, 236).

Aa

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

About this color

#4065EC is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.208 and its hue 267°. 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.89:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.208)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.29:1
White text4.89:1

Values

HEX#4065EC
RGBrgb(64, 101, 236)
HSLhsl(227, 82%, 59%)
OKLCHoklch(56% 0.208 267.5)

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 #4065EC 4.89:1 AA Lc -78.8 Fine for body text
Black text on #4065EC 4.29:1 AA large text Lc 30.7 Non-text elements, placeholder text
#4065EC text on white 4.89:1 AA Lc 73.4 Content text, not long reading
#4065EC text on black 4.29: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFD

    oklch(93.7% 0.027 267.5)

  3. Step 200

    200

    #CAD9FD

    oklch(88.6% 0.052 267.4)

  4. Step 300

    300

    #A6BFFE

    oklch(80.9% 0.094 267.6)

  5. Step 400

    400

    #789BFD

    oklch(70.7% 0.149 267.7)

  6. Step 500

    500

    #577EFB

    oklch(63% 0.191 267.6)

  7. Step 600

    600 (this color)

    #4065EC

    oklch(56% 0.208 267.5)

  8. Step 700

    700

    #3251CC

    oklch(49% 0.194 267.6)

  9. Step 800

    800

    #2944A5

    oklch(42.8% 0.16 267.3)

  10. Step 900

    900

    #253A83

    oklch(37.7% 0.125 267.8)

  11. Step 950

    950

    #15234C

    oklch(27% 0.078 266.9)

Export this scale for Tailwind in the Tailwind colors tool

#4065EC 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)#0079F10.051
Deuteranopia (no green cones)#0069E90.034
Tritanopia (no blue cones)#00879F0.165
Achromatopsia (no color)#7171710.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #4065EC

    #4065EC

    oklch(56% 0.208 267.5)

  • #916F00

    #916F00

    oklch(56% 0.114 87.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4065EC

    #4065EC

    oklch(56% 0.208 267.5)

  • #007DB3

    #007DB3

    oklch(55.9% 0.123 237.5)

  • #864DDC

    #864DDC

    oklch(56.1% 0.208 297.6)

Open the analogous palette in the generator

Split complementary

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

  • #4065EC

    #4065EC

    oklch(56% 0.208 267.5)

  • #AD5C00

    #AD5C00

    oklch(55.9% 0.134 57.6)

  • #6F7E00

    #6F7E00

    oklch(56.1% 0.13 117.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4065EC

    #4065EC

    oklch(56% 0.208 267.5)

  • #D32524

    #D32524

    oklch(56% 0.208 27.5)

  • #008D34

    #008D34

    oklch(56.1% 0.165 147.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4065EC

    #4065EC

    oklch(56% 0.208 267.5)

  • #CA2475

    #CA2475

    oklch(56% 0.207 357.5)

  • #916F00

    #916F00

    oklch(56% 0.114 87.3)

  • #008874

    #008874

    oklch(56.1% 0.104 177.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4065EC 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.