#4065BD

Closest named color: Mid Blue (#276AB3). oklch(52.6% 0.144 264.7), rgb(64, 101, 189).

Aa

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

About this color

#4065BD is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.144 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.030 away. White text reads best on it, at 5.50:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.144)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.81:1
White text5.50:1

Values

HEX#4065BD
RGBrgb(64, 101, 189)
HSLhsl(222, 49%, 50%)
OKLCHoklch(52.6% 0.144 264.7)

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 #4065BD 5.50:1 AA Lc -82.5 Fine for body text
Black text on #4065BD 3.81:1 AA large text Lc 26.9 Dividers and decoration only
#4065BD text on white 5.50:1 AA Lc 77.2 Fine for body text
#4065BD text on black 3.81:1 AA large text Lc -24.6 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CDD9F2

    oklch(88.4% 0.037 265.1)

  4. Step 300

    300

    #ACC1EC

    oklch(81% 0.065 264.5)

  5. Step 400

    400

    #809FE2

    oklch(70.6% 0.105 264.8)

  6. Step 500

    500

    #6186DA

    oklch(63.1% 0.134 264.9)

  7. Step 600

    600 (this color)

    #4065BD

    oklch(52.6% 0.144 264.7)

  8. Step 700

    700

    #3A5CAC

    oklch(49.2% 0.134 264.6)

  9. Step 800

    800

    #304B8B

    oklch(42.6% 0.111 264.9)

  10. Step 900

    900

    #2A3F6F

    oklch(37.6% 0.087 264.8)

  11. Step 950

    950

    #192541

    oklch(26.9% 0.055 265.3)

Export this scale for Tailwind in the Tailwind colors tool

#4065BD 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)#396FC00.026
Deuteranopia (no green cones)#2163BB0.028
Tritanopia (no blue cones)#0079880.119
Achromatopsia (no color)#6969690.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #4065BD

    #4065BD

    oklch(52.6% 0.144 264.7)

  • #876400

    #876400

    oklch(52.5% 0.108 84.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4065BD

    #4065BD

    oklch(52.6% 0.144 264.7)

  • #0073A1

    #0073A1

    oklch(52.5% 0.112 235.2)

  • #7255B4

    #7255B4

    oklch(52.5% 0.145 295)

Open the analogous palette in the generator

Split complementary

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

  • #4065BD

    #4065BD

    oklch(52.6% 0.144 264.7)

  • #A25200

    #A25200

    oklch(52.6% 0.13 55)

  • #697200

    #697200

    oklch(52.6% 0.119 115.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4065BD

    #4065BD

    oklch(52.6% 0.144 264.7)

  • #AE413E

    #AE413E

    oklch(52.5% 0.144 24.9)

  • #247F2E

    #247F2E

    oklch(52.6% 0.145 144.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4065BD

    #4065BD

    oklch(52.6% 0.144 264.7)

  • #A7406F

    #A7406F

    oklch(52.6% 0.144 354.8)

  • #876400

    #876400

    oklch(52.5% 0.108 84.5)

  • #007D67

    #007D67

    oklch(52.6% 0.1 174.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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