#40659A

Closest named color: Dusky Blue (#475F94). oklch(50.4% 0.095 257.4), rgb(64, 101, 154).

Aa

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

About this color

#40659A is a medium-dark, moderately saturated blue. In OKLCH its lightness is 50%, its chroma 0.095 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.018 away. White text reads best on it, at 5.92:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.54:1
White text5.92:1

Values

HEX#40659A
RGBrgb(64, 101, 154)
HSLhsl(215, 41%, 43%)
OKLCHoklch(50.4% 0.095 257.4)

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 #40659A 5.92:1 AA Lc -84.7 Fine for body text
Black text on #40659A 3.54:1 AA large text Lc 24.6 Dividers and decoration only
#40659A text on white 5.92:1 AA Lc 79.5 Fine for body text
#40659A text on black 3.54:1 AA large text Lc -22.4 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CFDAEA

    oklch(88.5% 0.025 257.6)

  4. Step 300

    300

    #AEC2DF

    oklch(80.8% 0.047 257.6)

  5. Step 400

    400

    #84A2CF

    oklch(70.6% 0.074 258.3)

  6. Step 500

    500

    #658BC2

    oklch(63.1% 0.094 257.6)

  7. Step 600

    600

    #4B74AF

    oklch(55.6% 0.103 257.5)

  8. Step 700

    700 (this color)

    #40659A

    oklch(50.4% 0.095 257.4)

  9. Step 800

    800

    #32507A

    oklch(42.8% 0.079 257)

  10. Step 900

    900

    #2C4262

    oklch(37.6% 0.062 257.7)

  11. Step 950

    950

    #1A2739

    oklch(27% 0.038 256.7)

Export this scale for Tailwind in the Tailwind colors tool

#40659A 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)#4F699C0.023
Deuteranopia (no green cones)#4460990.014
Tritanopia (no blue cones)#0071780.084
Achromatopsia (no color)#6464640.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #40659A

    #40659A

    oklch(50.4% 0.095 257.4)

  • #825C18

    #825C18

    oklch(50.3% 0.095 77.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40659A

    #40659A

    oklch(50.4% 0.095 257.4)

  • #0A6E8E

    #0A6E8E

    oklch(50.3% 0.095 227.4)

  • #615B98

    #615B98

    oklch(50.4% 0.096 286.9)

Open the analogous palette in the generator

Split complementary

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

  • #40659A

    #40659A

    oklch(50.4% 0.095 257.4)

  • #905231

    #905231

    oklch(50.4% 0.095 47.6)

  • #6A681C

    #6A681C

    oklch(50.4% 0.095 107.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40659A

    #40659A

    oklch(50.4% 0.095 257.4)

  • #934C50

    #934C50

    oklch(50.4% 0.095 17.5)

  • #497139

    #497139

    oklch(50.4% 0.095 137.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40659A

    #40659A

    oklch(50.4% 0.095 257.4)

  • #8B4C6E

    #8B4C6E

    oklch(50.3% 0.095 347.5)

  • #825C18

    #825C18

    oklch(50.3% 0.095 77.2)

  • #187559

    #187559

    oklch(50.3% 0.095 167.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40659A 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.