#4075E7

Closest named color: Royal Blue (#4169E1). oklch(58.8% 0.182 263.2), rgb(64, 117, 231).

Aa

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

About this color

#4075E7 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.182 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.030 away. Black text reads best on it, at 4.91:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.182)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.91:1
White text4.27:1

Values

HEX#4075E7
RGBrgb(64, 117, 231)
HSLhsl(221, 78%, 58%)
OKLCHoklch(58.8% 0.182 263.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 #4075E7 4.27:1 AA large text Lc -74.6 Content text, not long reading
Black text on #4075E7 4.91:1 AA Lc 35.0 Non-text elements, placeholder text
#4075E7 text on white 4.27:1 AA large text Lc 69.1 Content text, not long reading
#4075E7 text on black 4.91:1 AA Lc -32.6 Non-text elements, placeholder text

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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CADAF8

    oklch(88.6% 0.045 263.1)

  4. Step 300

    300

    #A5C1F6

    oklch(80.9% 0.081 263)

  5. Step 400

    400

    #759FF2

    oklch(70.7% 0.131 263.1)

  6. Step 500

    500

    #5284EE

    oklch(63.1% 0.168 263.4)

  7. Step 600

    600 (this color)

    #4075E7

    oklch(58.8% 0.182 263.2)

  8. Step 700

    700

    #2A58BF

    oklch(49% 0.17 263.3)

  9. Step 800

    800

    #23499A

    oklch(42.7% 0.14 263)

  10. Step 900

    900

    #213E7B

    oklch(37.7% 0.11 263.1)

  11. Step 950

    950

    #142548

    oklch(27.1% 0.069 263.1)

Export this scale for Tailwind in the Tailwind colors tool

#4075E7 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)#3282EB0.033
Deuteranopia (no green cones)#0073E50.033
Tritanopia (no blue cones)#0090A30.145
Achromatopsia (no color)#7A7A7A0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #4075E7

    #4075E7

    oklch(58.8% 0.182 263.2)

  • #9F7500

    #9F7500

    oklch(58.9% 0.121 83.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4075E7

    #4075E7

    oklch(58.8% 0.182 263.2)

  • #0087B9

    #0087B9

    oklch(58.7% 0.122 233.6)

  • #8460DD

    #8460DD

    oklch(58.8% 0.183 293.2)

Open the analogous palette in the generator

Split complementary

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

  • #4075E7

    #4075E7

    oklch(58.8% 0.182 263.2)

  • #BE5E00

    #BE5E00

    oklch(58.7% 0.149 53.2)

  • #7D8400

    #7D8400

    oklch(58.7% 0.131 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4075E7

    #4075E7

    oklch(58.8% 0.182 263.2)

  • #D34146

    #D34146

    oklch(58.8% 0.182 23)

  • #1E9622

    #1E9622

    oklch(58.8% 0.182 143.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4075E7

    #4075E7

    oklch(58.8% 0.182 263.2)

  • #C94286

    #C94286

    oklch(58.9% 0.182 353.1)

  • #9F7500

    #9F7500

    oklch(58.9% 0.121 83.4)

  • #009276

    #009276

    oklch(58.8% 0.113 172.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4075E7 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.