#42628F

Closest named color: Denim (#3B638C). oklch(49.2% 0.082 257), rgb(66, 98, 143).

Aa

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

About this color

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

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

Values

HEX#42628F
RGBrgb(66, 98, 143)
HSLhsl(215, 37%, 41%)
OKLCHoklch(49.2% 0.082 257)

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 #42628F 6.22:1 AA Lc -86.1 Fine for body text
Black text on #42628F 3.37:1 AA large text Lc 23.1 Dividers and decoration only
#42628F text on white 6.22:1 AA Lc 80.9 Fine for body text
#42628F text on black 3.37:1 AA large text Lc -21.0 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

    #B1C2DB

    oklch(80.9% 0.04 257.9)

  5. Step 400

    400

    #88A2C8

    oklch(70.6% 0.063 257.8)

  6. Step 500

    500

    #6A8BBA

    oklch(63.1% 0.081 257.2)

  7. Step 600

    600

    #5175A6

    oklch(55.6% 0.087 256.3)

  8. Step 700

    700 (this color)

    #42628F

    oklch(49.2% 0.082 257)

  9. Step 800

    800

    #365074

    oklch(42.7% 0.068 256.7)

  10. Step 900

    900

    #2F425E

    oklch(37.6% 0.054 257.9)

  11. Step 950

    950

    #1C2737

    oklch(27% 0.034 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#42628F 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)#5065910.021
Deuteranopia (no green cones)#475D8E0.015
Tritanopia (no blue cones)#196C720.073
Achromatopsia (no color)#6161610.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #42628F

    #42628F

    oklch(49.2% 0.082 257)

  • #7B5A25

    #7B5A25

    oklch(49.1% 0.082 76.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42628F

    #42628F

    oklch(49.2% 0.082 257)

  • #216A85

    #216A85

    oklch(49.2% 0.082 227)

  • #5E598D

    #5E598D

    oklch(49.1% 0.082 287.4)

Open the analogous palette in the generator

Split complementary

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

  • #42628F

    #42628F

    oklch(49.2% 0.082 257)

  • #875237

    #875237

    oklch(49.3% 0.082 47.2)

  • #666427

    #666427

    oklch(49.2% 0.082 107.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42628F

    #42628F

    oklch(49.2% 0.082 257)

  • #894D50

    #894D50

    oklch(49.2% 0.081 17.3)

  • #4A6C3C

    #4A6C3C

    oklch(49.2% 0.083 137.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42628F

    #42628F

    oklch(49.2% 0.082 257)

  • #834D6A

    #834D6A

    oklch(49.2% 0.082 347.1)

  • #7B5A25

    #7B5A25

    oklch(49.1% 0.082 76.5)

  • #287057

    #287057

    oklch(49.3% 0.082 166.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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