#42527F

Closest named color: Dusk (#4E5481). oklch(44.6% 0.077 268.3), rgb(66, 82, 127).

Aa

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

About this color

#42527F is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.077 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.019 away. White text reads best on it, at 7.65:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.74:1
White text7.65:1

Values

HEX#42527F
RGBrgb(66, 82, 127)
HSLhsl(224, 32%, 38%)
OKLCHoklch(44.6% 0.077 268.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 #42527F 7.65:1 AAA Lc -91.3 Preferred for body text
Black text on #42527F 2.74:1 Fails Lc 17.5 Dividers and decoration only
#42527F text on white 7.65:1 AAA Lc 86.5 Fine for body text
#42527F text on black 2.74:1 Fails Lc -15.6 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 800.

  1. Step 50

    50

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D2D9EA

    oklch(88.5% 0.025 267.9)

  4. Step 300

    300

    #B4C0DF

    oklch(80.9% 0.046 268.6)

  5. Step 400

    400

    #8D9FCE

    oklch(70.6% 0.072 268.3)

  6. Step 500

    500

    #7287C2

    oklch(63.1% 0.093 268.7)

  7. Step 600

    600

    #5A70AE

    oklch(55.5% 0.1 268.2)

  8. Step 700

    700

    #4A5E96

    oklch(49.2% 0.093 268)

  9. Step 800

    800 (this color)

    #42527F

    oklch(44.6% 0.077 268.3)

  10. Step 900

    900

    #344062

    oklch(37.7% 0.061 268.6)

  11. Step 950

    950

    #1E2639

    oklch(27% 0.037 266.4)

Export this scale for Tailwind in the Tailwind colors tool

#42527F 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)#4156810.011
Deuteranopia (no green cones)#3B517E0.010
Tritanopia (no blue cones)#2B5B620.069
Achromatopsia (no color)#5353530.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #42527F

    #42527F

    oklch(44.6% 0.077 268.3)

  • #66511A

    #66511A

    oklch(44.5% 0.077 87.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42527F

    #42527F

    oklch(44.6% 0.077 268.3)

  • #245A7A

    #245A7A

    oklch(44.7% 0.077 238.1)

  • #5A4A79

    #5A4A79

    oklch(44.6% 0.077 298.9)

Open the analogous palette in the generator

Split complementary

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

  • #42527F

    #42527F

    oklch(44.6% 0.077 268.3)

  • #744925

    #744925

    oklch(44.7% 0.077 58.8)

  • #505A25

    #505A25

    oklch(44.6% 0.077 118.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42527F

    #42527F

    oklch(44.6% 0.077 268.3)

  • #79433C

    #79433C

    oklch(44.7% 0.076 28.3)

  • #34603B

    #34603B

    oklch(44.6% 0.078 147.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42527F

    #42527F

    oklch(44.6% 0.077 268.3)

  • #764154

    #764154

    oklch(44.6% 0.077 357.8)

  • #66511A

    #66511A

    oklch(44.5% 0.077 87.5)

  • #106254

    #106254

    oklch(44.6% 0.077 177.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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