#4065BF

Closest named color: Mid Blue (#276AB3). oklch(52.7% 0.147 265), rgb(64, 101, 191).

Aa

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

About this color

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

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

Values

HEX#4065BF
RGBrgb(64, 101, 191)
HSLhsl(223, 50%, 50%)
OKLCHoklch(52.7% 0.147 265)

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 #4065BF 5.48:1 AA Lc -82.4 Fine for body text
Black text on #4065BF 3.83:1 AA large text Lc 27.0 Dividers and decoration only
#4065BF text on white 5.48:1 AA Lc 77.1 Fine for body text
#4065BF text on black 3.83:1 AA large text Lc -24.7 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

    #809FE3

    oklch(70.6% 0.106 265)

  6. Step 500

    500

    #6186DB

    oklch(63.1% 0.135 265)

  7. Step 600

    600 (this color)

    #4065BF

    oklch(52.7% 0.147 265)

  8. Step 700

    700

    #395BAE

    oklch(49% 0.138 265)

  9. Step 800

    800

    #304B8C

    oklch(42.7% 0.113 265)

  10. Step 900

    900

    #2A3F70

    oklch(37.6% 0.088 265)

  11. Step 950

    950

    #192542

    oklch(27% 0.057 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#4065BF 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)#376FC20.026
Deuteranopia (no green cones)#1D64BD0.029
Tritanopia (no blue cones)#007A890.121
Achromatopsia (no color)#6969690.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #4065BF

    #4065BF

    oklch(52.7% 0.147 265)

  • #876500

    #876500

    oklch(52.7% 0.108 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4065BF

    #4065BF

    oklch(52.7% 0.147 265)

  • #0074A2

    #0074A2

    oklch(52.8% 0.112 235)

  • #7355B6

    #7355B6

    oklch(52.8% 0.148 295.1)

Open the analogous palette in the generator

Split complementary

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

  • #4065BF

    #4065BF

    oklch(52.7% 0.147 265)

  • #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.

  • #4065BF

    #4065BF

    oklch(52.7% 0.147 265)

  • #B0403D

    #B0403D

    oklch(52.7% 0.147 25)

  • #21802D

    #21802D

    oklch(52.7% 0.148 144.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4065BF

    #4065BF

    oklch(52.7% 0.147 265)

  • #A93F6F

    #A93F6F

    oklch(52.8% 0.147 355.2)

  • #876500

    #876500

    oklch(52.7% 0.108 85.4)

  • #007D68

    #007D68

    oklch(52.7% 0.099 175.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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