#42498A

Closest named color: Twilight (#4E518B). oklch(43.3% 0.107 276.4), rgb(66, 73, 138).

Aa

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

About this color

#42498A is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.107 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.031 away. White text reads best on it, at 8.22:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.107)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.55:1
White text8.22:1

Values

HEX#42498A
RGBrgb(66, 73, 138)
HSLhsl(234, 35%, 40%)
OKLCHoklch(43.3% 0.107 276.4)

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 #42498A 8.22:1 AAA Lc -92.9 Preferred for body text
Black text on #42498A 2.55:1 Fails Lc 15.7 Dividers and decoration only
#42498A text on white 8.22:1 AAA Lc 88.3 Fine for body text
#42498A text on black 2.55:1 Fails Lc -13.9 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D3D8F1

    oklch(88.6% 0.035 276.7)

  4. Step 300

    300

    #B5BEE9

    oklch(80.9% 0.062 275.7)

  5. Step 400

    400

    #909BDF

    oklch(70.7% 0.1 276.5)

  6. Step 500

    500

    #7681D5

    oklch(63.1% 0.126 276.5)

  7. Step 600

    600

    #5F69C3

    oklch(55.6% 0.139 276.2)

  8. Step 700

    700

    #4F57A8

    oklch(49.1% 0.128 276.4)

  9. Step 800

    800 (this color)

    #42498A

    oklch(43.3% 0.107 276.4)

  10. Step 900

    900

    #363C6D

    oklch(37.6% 0.084 276.3)

  11. Step 950

    950

    #202440

    oklch(27.1% 0.052 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#42498A 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)#2D528C0.033
Deuteranopia (no green cones)#264C890.034
Tritanopia (no blue cones)#2457630.093
Achromatopsia (no color)#4F4F4F0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #42498A

    #42498A

    oklch(43.3% 0.107 276.4)

  • #5F5000

    #5F5000

    oklch(43.3% 0.089 96.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42498A

    #42498A

    oklch(43.3% 0.107 276.4)

  • #0B5487

    #0B5487

    oklch(43.2% 0.107 246.4)

  • #5F3F7E

    #5F3F7E

    oklch(43.3% 0.106 305.9)

Open the analogous palette in the generator

Split complementary

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

  • #42498A

    #42498A

    oklch(43.3% 0.107 276.4)

  • #734400

    #734400

    oklch(43.3% 0.096 66.6)

  • #415A07

    #415A07

    oklch(43.2% 0.106 126.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42498A

    #42498A

    oklch(43.3% 0.107 276.4)

  • #803723

    #803723

    oklch(43.2% 0.106 36.2)

  • #006138

    #006138

    oklch(43.3% 0.104 156.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42498A

    #42498A

    oklch(43.3% 0.107 276.4)

  • #7F3347

    #7F3347

    oklch(43.2% 0.107 6.3)

  • #5F5000

    #5F5000

    oklch(43.3% 0.089 96.6)

  • #005E57

    #005E57

    oklch(43.4% 0.076 186)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42498A 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.