#40618D

Closest named color: Denim (#3B638C). oklch(48.7% 0.081 256), rgb(64, 97, 141).

Aa

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

About this color

#40618D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.081 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.008 away. White text reads best on it, at 6.33:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.31:1
White text6.33:1

Values

HEX#40618D
RGBrgb(64, 97, 141)
HSLhsl(214, 38%, 40%)
OKLCHoklch(48.7% 0.081 256)

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 #40618D 6.33:1 AA Lc -86.5 Fine for body text
Black text on #40618D 3.31:1 AA large text Lc 22.6 Dividers and decoration only
#40618D text on white 6.33:1 AA Lc 81.4 Fine for body text
#40618D text on black 3.31:1 AA large text Lc -20.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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D0DAE8

    oklch(88.5% 0.022 256.7)

  4. Step 300

    300

    #B0C2DA

    oklch(80.8% 0.039 255.6)

  5. Step 400

    400

    #87A3C8

    oklch(70.8% 0.063 255.5)

  6. Step 500

    500

    #698CBA

    oklch(63.2% 0.08 255.5)

  7. Step 600

    600

    #5075A6

    oklch(55.6% 0.088 255.8)

  8. Step 700

    700 (this color)

    #40618D

    oklch(48.7% 0.081 256)

  9. Step 800

    800

    #365073

    oklch(42.7% 0.067 256.1)

  10. Step 900

    900

    #2F435D

    oklch(37.8% 0.052 255.3)

  11. Step 950

    950

    #1C2737

    oklch(27% 0.034 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#40618D 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)#4F648F0.022
Deuteranopia (no green cones)#465C8C0.015
Tritanopia (no blue cones)#156B710.071
Achromatopsia (no color)#5F5F5F0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #40618D

    #40618D

    oklch(48.7% 0.081 256)

  • #7A5925

    #7A5925

    oklch(48.8% 0.081 76)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40618D

    #40618D

    oklch(48.7% 0.081 256)

  • #1F6983

    #1F6983

    oklch(48.8% 0.081 226)

  • #5C588C

    #5C588C

    oklch(48.7% 0.082 286.4)

Open the analogous palette in the generator

Split complementary

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

  • #40618D

    #40618D

    oklch(48.7% 0.081 256)

  • #855037

    #855037

    oklch(48.6% 0.081 45.6)

  • #666226

    #666226

    oklch(48.7% 0.081 105.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40618D

    #40618D

    oklch(48.7% 0.081 256)

  • #874C50

    #874C50

    oklch(48.7% 0.08 16.1)

  • #4A6A3B

    #4A6A3B

    oklch(48.7% 0.081 136.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40618D

    #40618D

    oklch(48.7% 0.081 256)

  • #814C69

    #814C69

    oklch(48.8% 0.081 346.6)

  • #7A5925

    #7A5925

    oklch(48.8% 0.081 76)

  • #296E55

    #296E55

    oklch(48.7% 0.081 166.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40618D 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.