#40738F

Closest named color: Metallic Blue (#4F738E). oklch(53.2% 0.07 234.3), rgb(64, 115, 143).

Aa

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

About this color

#40738F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.070 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Metallic Blue (#4F738E), ΔE 0.016 away. White text reads best on it, at 5.16:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameMetallic Blue (#4F738E)
Black text4.06:1
White text5.16:1

Values

HEX#40738F
RGBrgb(64, 115, 143)
HSLhsl(201, 38%, 41%)
OKLCHoklch(53.2% 0.07 234.3)

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 #40738F 5.16:1 AA Lc -80.8 Fine for body text
Black text on #40738F 4.06:1 AA large text Lc 28.6 Dividers and decoration only
#40738F text on white 5.16:1 AA Lc 75.4 Fine for body text
#40738F text on black 4.06:1 AA large text Lc -26.3 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEF

    oklch(93.6% 0.009 232.4)

  3. Step 200

    200

    #CEDBE3

    oklch(88.4% 0.018 234.5)

  4. Step 300

    300

    #AEC4D2

    oklch(80.8% 0.031 235.7)

  5. Step 400

    400

    #82A6BC

    oklch(70.6% 0.051 235.3)

  6. Step 500

    500

    #6290AB

    oklch(63.1% 0.064 234.9)

  7. Step 600

    600 (this color)

    #40738F

    oklch(53.2% 0.07 234.3)

  8. Step 700

    700

    #386780

    oklch(49.1% 0.065 233.5)

  9. Step 800

    800

    #2F5468

    oklch(42.7% 0.054 233.6)

  10. Step 900

    900

    #2A4555

    oklch(37.6% 0.043 235.6)

  11. Step 950

    950

    #192932

    oklch(27.1% 0.027 233.8)

Export this scale for Tailwind in the Tailwind colors tool

#40738F 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)#6672900.046
Deuteranopia (no green cones)#5B698F0.041
Tritanopia (no blue cones)#077A7C0.054
Achromatopsia (no color)#6D6D6D0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #40738F

    #40738F

    oklch(53.2% 0.07 234.3)

  • #8C6144

    #8C6144

    oklch(53.1% 0.07 54.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40738F

    #40738F

    oklch(53.2% 0.07 234.3)

  • #32787F

    #32787F

    oklch(53.1% 0.07 204.3)

  • #586C96

    #586C96

    oklch(53.3% 0.071 264.5)

Open the analogous palette in the generator

Split complementary

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

  • #40738F

    #40738F

    oklch(53.2% 0.07 234.3)

  • #915C58

    #915C58

    oklch(53.2% 0.071 24.4)

  • #7F693A

    #7F693A

    oklch(53.1% 0.071 84.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40738F

    #40738F

    oklch(53.2% 0.07 234.3)

  • #8D5B6F

    #8D5B6F

    oklch(53.2% 0.071 354.2)

  • #6B7140

    #6B7140

    oklch(53.1% 0.07 114.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40738F

    #40738F

    oklch(53.2% 0.07 234.3)

  • #815E83

    #815E83

    oklch(53.1% 0.071 324.7)

  • #8C6144

    #8C6144

    oklch(53.1% 0.07 54.6)

  • #537752

    #537752

    oklch(53.1% 0.07 143.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40738F 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.