#2A6DDD

Closest named color: Royal Blue (#4169E1). oklch(55.7% 0.184 260.2), rgb(42, 109, 221).

Aa

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

About this color

#2A6DDD is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.184 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.021 away. White text reads best on it, at 4.84:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.184)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.32:1
White text4.84:1

Values

HEX#2A6DDD
RGBrgb(42, 109, 221)
HSLhsl(218, 72%, 52%)
OKLCHoklch(55.7% 0.184 260.2)

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 #2A6DDD 4.84:1 AA Lc -78.5 Fine for body text
Black text on #2A6DDD 4.32:1 AA large text Lc 31.0 Non-text elements, placeholder text
#2A6DDD text on white 4.84:1 AA Lc 73.1 Content text, not long reading
#2A6DDD text on black 4.32:1 AA large text Lc -28.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 600.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBFA

    oklch(93.7% 0.023 258.4)

  3. Step 200

    200

    #C8DAF8

    oklch(88.4% 0.046 260.7)

  4. Step 300

    300

    #A2C2F7

    oklch(80.9% 0.083 260.4)

  5. Step 400

    400

    #6FA0F3

    oklch(70.7% 0.133 260.5)

  6. Step 500

    500

    #4886EE

    oklch(63.1% 0.169 260.1)

  7. Step 600

    600 (this color)

    #2A6DDD

    oklch(55.7% 0.184 260.2)

  8. Step 700

    700

    #1D5AC0

    oklch(49.1% 0.172 260.3)

  9. Step 800

    800

    #1A4A9B

    oklch(42.6% 0.142 260.3)

  10. Step 900

    900

    #1B3F7B

    oklch(37.7% 0.11 260)

  11. Step 950

    950

    #112548

    oklch(26.9% 0.07 260.7)

Export this scale for Tailwind in the Tailwind colors tool

#2A6DDD 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)#227AE10.033
Deuteranopia (no green cones)#006ADB0.020
Tritanopia (no blue cones)#00889B0.141
Achromatopsia (no color)#7171710.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6DDD

    #2A6DDD

    oklch(55.7% 0.184 260.2)

  • #966A00

    #966A00

    oklch(55.5% 0.115 79.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6DDD

    #2A6DDD

    oklch(55.7% 0.184 260.2)

  • #007EA8

    #007EA8

    oklch(55.6% 0.112 230.6)

  • #7658D5

    #7658D5

    oklch(55.6% 0.184 290.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A6DDD

    #2A6DDD

    oklch(55.7% 0.184 260.2)

  • #B45400

    #B45400

    oklch(55.7% 0.146 50.5)

  • #787900

    #787900

    oklch(55.7% 0.122 110.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6DDD

    #2A6DDD

    oklch(55.7% 0.184 260.2)

  • #C93443

    #C93443

    oklch(55.7% 0.185 20.4)

  • #268B00

    #268B00

    oklch(55.7% 0.18 140.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6DDD

    #2A6DDD

    oklch(55.7% 0.184 260.2)

  • #BD3782

    #BD3782

    oklch(55.8% 0.184 350.4)

  • #966A00

    #966A00

    oklch(55.5% 0.115 79.9)

  • #00886A

    #00886A

    oklch(55.8% 0.11 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A6DDD 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.