#40679E

Closest named color: Dusky Blue (#475F94). oklch(51.1% 0.099 257.1), rgb(64, 103, 158).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.65:1
White text5.75:1

Values

HEX#40679E
RGBrgb(64, 103, 158)
HSLhsl(215, 42%, 44%)
OKLCHoklch(51.1% 0.099 257.1)

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 #40679E 5.75:1 AA Lc -83.9 Fine for body text
Black text on #40679E 3.65:1 AA large text Lc 25.5 Dividers and decoration only
#40679E text on white 5.75:1 AA Lc 78.6 Fine for body text
#40679E text on black 3.65:1 AA large text Lc -23.2 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

    #CEDAEB

    oklch(88.4% 0.027 257)

  4. Step 300

    300

    #AEC2E0

    oklch(80.9% 0.048 258.4)

  5. Step 400

    400

    #82A3D0

    oklch(70.8% 0.076 256.3)

  6. Step 500

    500

    #638BC4

    oklch(63.1% 0.097 257.3)

  7. Step 600

    600

    #4974B1

    oklch(55.6% 0.107 257.2)

  8. Step 700

    700 (this color)

    #40679E

    oklch(51.1% 0.099 257.1)

  9. Step 800

    800

    #31507B

    oklch(42.8% 0.081 256.8)

  10. Step 900

    900

    #2B4263

    oklch(37.6% 0.064 257.4)

  11. Step 950

    950

    #1A273A

    oklch(27% 0.04 257.8)

Export this scale for Tailwind in the Tailwind colors tool

#40679E 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)#506BA00.023
Deuteranopia (no green cones)#44629D0.014
Tritanopia (no blue cones)#00737B0.085
Achromatopsia (no color)#6666660.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #40679E

    #40679E

    oklch(51.1% 0.099 257.1)

  • #855E15

    #855E15

    oklch(51.1% 0.098 77.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40679E

    #40679E

    oklch(51.1% 0.099 257.1)

  • #017192

    #017192

    oklch(51.2% 0.098 226.9)

  • #635C9C

    #635C9C

    oklch(51% 0.1 287.3)

Open the analogous palette in the generator

Split complementary

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

  • #40679E

    #40679E

    oklch(51.1% 0.099 257.1)

  • #935331

    #935331

    oklch(51% 0.098 47.5)

  • #6D6A19

    #6D6A19

    oklch(51.2% 0.099 107.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40679E

    #40679E

    oklch(51.1% 0.099 257.1)

  • #964D52

    #964D52

    oklch(51.1% 0.098 16.8)

  • #4A7339

    #4A7339

    oklch(51% 0.098 137.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40679E

    #40679E

    oklch(51.1% 0.099 257.1)

  • #8E4D71

    #8E4D71

    oklch(50.9% 0.099 346.8)

  • #855E15

    #855E15

    oklch(51.1% 0.098 77.7)

  • #14785A

    #14785A

    oklch(51.1% 0.099 166.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40679E 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.