#404797

Closest named color: Blueberry (#464196). oklch(43.6% 0.129 275.9), rgb(64, 71, 151).

Aa

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

About this color

#404797 is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.129 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.017 away. White text reads best on it, at 8.18:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.56:1
White text8.18:1

Values

HEX#404797
RGBrgb(64, 71, 151)
HSLhsl(235, 40%, 42%)
OKLCHoklch(43.6% 0.129 275.9)

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 #404797 8.18:1 AAA Lc -92.7 Preferred for body text
Black text on #404797 2.56:1 Fails Lc 16.0 Dividers and decoration only
#404797 text on white 8.18:1 AAA Lc 88.0 Fine for body text
#404797 text on black 2.56:1 Fails Lc -14.1 Not readable

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 800.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #D1D7F6

    oklch(88.4% 0.043 276.8)

  4. Step 300

    300

    #B3BDF2

    oklch(80.9% 0.076 276.3)

  5. Step 400

    400

    #8C99EB

    oklch(70.6% 0.121 276)

  6. Step 500

    500

    #717EE5

    oklch(63.1% 0.154 275.7)

  7. Step 600

    600

    #5B65D3

    oklch(55.6% 0.167 275.6)

  8. Step 700

    700

    #4B53B7

    oklch(49.1% 0.156 275.6)

  9. Step 800

    800 (this color)

    #404797

    oklch(43.6% 0.129 275.9)

  10. Step 900

    900

    #343A76

    oklch(37.6% 0.101 276.1)

  11. Step 950

    950

    #1E2345

    oklch(27.1% 0.063 275.1)

Export this scale for Tailwind in the Tailwind colors tool

#404797 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)#1B539A0.045
Deuteranopia (no green cones)#084C950.049
Tritanopia (no blue cones)#0E59680.113
Achromatopsia (no color)#4F4F4F0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #404797

    #404797

    oklch(43.6% 0.129 275.9)

  • #605100

    #605100

    oklch(43.7% 0.09 96.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404797

    #404797

    oklch(43.6% 0.129 275.9)

  • #00558B

    #00558B

    oklch(43.6% 0.113 246.2)

  • #633A89

    #633A89

    oklch(43.6% 0.13 305.6)

Open the analogous palette in the generator

Split complementary

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

  • #404797

    #404797

    oklch(43.6% 0.129 275.9)

  • #754500

    #754500

    oklch(43.7% 0.097 66.3)

  • #425B00

    #425B00

    oklch(43.5% 0.11 125.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404797

    #404797

    oklch(43.6% 0.129 275.9)

  • #8A2F16

    #8A2F16

    oklch(43.6% 0.129 35.8)

  • #006237

    #006237

    oklch(43.6% 0.106 155.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404797

    #404797

    oklch(43.6% 0.129 275.9)

  • #882A47

    #882A47

    oklch(43.6% 0.13 5.5)

  • #605100

    #605100

    oklch(43.7% 0.09 96.7)

  • #005F58

    #005F58

    oklch(43.7% 0.077 186.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404797 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.