#42509C

Closest named color: Twilight (#4E518B). oklch(46% 0.124 272.8), rgb(66, 80, 156).

Aa

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

About this color

#42509C is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.124 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.033 away. White text reads best on it, at 7.34:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.85:1
White text7.34:1

Values

HEX#42509C
RGBrgb(66, 80, 156)
HSLhsl(231, 41%, 44%)
OKLCHoklch(46% 0.124 272.8)

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 #42509C 7.34:1 AAA Lc -90.2 Preferred for body text
Black text on #42509C 2.85:1 Fails Lc 18.7 Dividers and decoration only
#42509C text on white 7.34:1 AAA Lc 85.3 Fine for body text
#42509C text on black 2.85:1 Fails Lc -16.7 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D1D8F0

    oklch(88.4% 0.034 272.8)

  4. Step 300

    300

    #B3BFE8

    oklch(80.9% 0.06 272.2)

  5. Step 400

    400

    #8C9DDD

    oklch(70.7% 0.096 272.3)

  6. Step 500

    500

    #7183D3

    oklch(63.1% 0.122 272.8)

  7. Step 600

    600

    #5A6BC0

    oklch(55.5% 0.133 272.8)

  8. Step 700

    700 (this color)

    #42509C

    oklch(46% 0.124 272.8)

  9. Step 800

    800

    #3D4986

    oklch(42.6% 0.102 273)

  10. Step 900

    900

    #343E6C

    oklch(37.8% 0.08 272.8)

  11. Step 950

    950

    #1E243F

    oklch(26.9% 0.051 273)

Export this scale for Tailwind in the Tailwind colors tool

#42509C 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)#2B5A9F0.034
Deuteranopia (no green cones)#1E529A0.037
Tritanopia (no blue cones)#09616E0.110
Achromatopsia (no color)#5656560.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #42509C

    #42509C

    oklch(46% 0.124 272.8)

  • #6A5600

    #6A5600

    oklch(46% 0.094 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42509C

    #42509C

    oklch(46% 0.124 272.8)

  • #005D90

    #005D90

    oklch(45.9% 0.111 242.8)

  • #664390

    #664390

    oklch(45.9% 0.124 302.8)

Open the analogous palette in the generator

Split complementary

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

  • #42509C

    #42509C

    oklch(46% 0.124 272.8)

  • #804800

    #804800

    oklch(45.9% 0.105 62.5)

  • #4D6100

    #4D6100

    oklch(45.9% 0.112 122.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42509C

    #42509C

    oklch(46% 0.124 272.8)

  • #903827

    #903827

    oklch(46% 0.123 32.8)

  • #006A36

    #006A36

    oklch(46% 0.118 153)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42509C

    #42509C

    oklch(46% 0.124 272.8)

  • #8D3451

    #8D3451

    oklch(45.9% 0.124 3.1)

  • #6A5600

    #6A5600

    oklch(46% 0.094 93.2)

  • #00675C

    #00675C

    oklch(46.1% 0.082 182.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42509C 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.