#4064B8

Closest named color: Mid Blue (#276AB3). oklch(52% 0.139 264.6), rgb(64, 100, 184).

Aa

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

About this color

#4064B8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.139 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.027 away. White text reads best on it, at 5.62:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.73:1
White text5.62:1

Values

HEX#4064B8
RGBrgb(64, 100, 184)
HSLhsl(222, 48%, 49%)
OKLCHoklch(52% 0.139 264.6)

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 #4064B8 5.62:1 AA Lc -83.1 Fine for body text
Black text on #4064B8 3.73:1 AA large text Lc 26.2 Dividers and decoration only
#4064B8 text on white 5.62:1 AA Lc 77.9 Fine for body text
#4064B8 text on black 3.73:1 AA large text Lc -23.9 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 700.

  1. Step 50

    50

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF7

    oklch(93.6% 0.019 263)

  3. Step 200

    200

    #CDD9F3

    oklch(88.4% 0.038 265.8)

  4. Step 300

    300

    #ABC1ED

    oklch(80.9% 0.067 264.1)

  5. Step 400

    400

    #7F9FE4

    oklch(70.6% 0.108 264.7)

  6. Step 500

    500

    #5F86DC

    oklch(63.1% 0.137 264.4)

  7. Step 600

    600

    #476ECA

    oklch(55.7% 0.149 264.7)

  8. Step 700

    700 (this color)

    #4064B8

    oklch(52% 0.139 264.6)

  9. Step 800

    800

    #2F4B8D

    oklch(42.7% 0.114 264.7)

  10. Step 900

    900

    #293F71

    oklch(37.7% 0.09 264.6)

  11. Step 950

    950

    #182542

    oklch(26.9% 0.057 264.6)

Export this scale for Tailwind in the Tailwind colors tool

#4064B8 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)#3B6DBB0.024
Deuteranopia (no green cones)#2662B60.025
Tritanopia (no blue cones)#0077850.115
Achromatopsia (no color)#6767670.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #4064B8

    #4064B8

    oklch(52% 0.139 264.6)

  • #856300

    #856300

    oklch(52% 0.107 85)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4064B8

    #4064B8

    oklch(52% 0.139 264.6)

  • #00729E

    #00729E

    oklch(52% 0.109 234.2)

  • #7055AF

    #7055AF

    oklch(52% 0.138 295)

Open the analogous palette in the generator

Split complementary

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

  • #4064B8

    #4064B8

    oklch(52% 0.139 264.6)

  • #A05000

    #A05000

    oklch(52% 0.13 54.4)

  • #687000

    #687000

    oklch(52% 0.118 114.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4064B8

    #4064B8

    oklch(52% 0.139 264.6)

  • #AA413F

    #AA413F

    oklch(51.9% 0.139 24.3)

  • #287D30

    #287D30

    oklch(52.1% 0.139 144.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4064B8

    #4064B8

    oklch(52% 0.139 264.6)

  • #A3416D

    #A3416D

    oklch(52% 0.138 355)

  • #856300

    #856300

    oklch(52% 0.107 85)

  • #007B65

    #007B65

    oklch(52% 0.099 174.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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