#40748B

Closest named color: Metallic Blue (#4F738E). oklch(53.2% 0.066 228.6), rgb(64, 116, 139).

Aa

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

About this color

#40748B is a medium-dark, muted teal or cyan. In OKLCH its lightness is 53%, its chroma 0.066 and its hue 229°. Its hue sits on the cool side of the wheel. The nearest named color is Metallic Blue (#4F738E), ΔE 0.017 away. White text reads best on it, at 5.13:1.

Hue familyTeals and cyans
Lightnessmedium-dark (53%)
Chromamuted (0.066)
Temperaturecool
Nearest nameMetallic Blue (#4F738E)
Black text4.08:1
White text5.13:1

Values

HEX#40748B
RGBrgb(64, 116, 139)
HSLhsl(198, 37%, 40%)
OKLCHoklch(53.2% 0.066 228.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 #40748B 5.13:1 AA Lc -80.7 Fine for body text
Black text on #40748B 4.08:1 AA large text Lc 28.8 Dividers and decoration only
#40748B text on white 5.13:1 AA Lc 75.3 Fine for body text
#40748B text on black 4.08:1 AA large text Lc -26.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 600.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEE

    oklch(93.6% 0.009 225.1)

  3. Step 200

    200

    #CEDBE2

    oklch(88.4% 0.017 230.9)

  4. Step 300

    300

    #AEC5D0

    oklch(81% 0.029 228.2)

  5. Step 400

    400

    #82A7B8

    oklch(70.7% 0.047 227.7)

  6. Step 500

    500

    #6191A7

    oklch(63.1% 0.061 228.5)

  7. Step 600

    600 (this color)

    #40748B

    oklch(53.2% 0.066 228.6)

  8. Step 700

    700

    #38687D

    oklch(49.2% 0.062 228.4)

  9. Step 800

    800

    #2F5565

    oklch(42.8% 0.051 227.1)

  10. Step 900

    900

    #2A4652

    oklch(37.7% 0.04 227)

  11. Step 950

    950

    #192930

    oklch(27% 0.025 227.2)

Export this scale for Tailwind in the Tailwind colors tool

#40748B 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)#68728C0.048
Deuteranopia (no green cones)#5D6A8B0.042
Tritanopia (no blue cones)#0F7B7B0.049
Achromatopsia (no color)#6E6E6E0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #40748B

    #40748B

    oklch(53.2% 0.066 228.6)

  • #8C614A

    #8C614A

    oklch(53.2% 0.066 49)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40748B

    #40748B

    oklch(53.2% 0.066 228.6)

  • #37787B

    #37787B

    oklch(53.2% 0.066 199.4)

  • #556D93

    #556D93

    oklch(53.1% 0.067 259.4)

Open the analogous palette in the generator

Split complementary

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

  • #40748B

    #40748B

    oklch(53.2% 0.066 228.6)

  • #8F5D5D

    #8F5D5D

    oklch(53.3% 0.066 19.5)

  • #81683F

    #81683F

    oklch(53.2% 0.066 79)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40748B

    #40748B

    oklch(53.2% 0.066 228.6)

  • #8A5D73

    #8A5D73

    oklch(53.4% 0.066 348.8)

  • #707041

    #707041

    oklch(53.4% 0.067 108.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40748B

    #40748B

    oklch(53.2% 0.066 228.6)

  • #7D6085

    #7D6085

    oklch(53.2% 0.066 318.8)

  • #8C614A

    #8C614A

    oklch(53.2% 0.066 49)

  • #597650

    #597650

    oklch(53.3% 0.067 138.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40748B 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.