#2A6AD7

Closest named color: Royal Blue (#4169E1). oklch(54.6% 0.18 260.4), rgb(42, 106, 215).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.180)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.14:1
White text5.07:1

Values

HEX#2A6AD7
RGBrgb(42, 106, 215)
HSLhsl(218, 68%, 50%)
OKLCHoklch(54.6% 0.18 260.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 #2A6AD7 5.07:1 AA Lc -79.9 Fine for body text
Black text on #2A6AD7 4.14:1 AA large text Lc 29.6 Dividers and decoration only
#2A6AD7 text on white 5.07:1 AA Lc 74.5 Content text, not long reading
#2A6AD7 text on black 4.14:1 AA large text Lc -27.2 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

    #E1EAFA

    oklch(93.5% 0.024 262.1)

  3. Step 200

    200

    #C8DAF8

    oklch(88.4% 0.046 260.7)

  4. Step 300

    300

    #A3C2F6

    oklch(81% 0.081 260.6)

  5. Step 400

    400

    #71A0F1

    oklch(70.7% 0.13 260.8)

  6. Step 500

    500

    #4B86EC

    oklch(63.1% 0.166 260.6)

  7. Step 600

    600 (this color)

    #2A6AD7

    oklch(54.6% 0.18 260.4)

  8. Step 700

    700

    #205ABE

    oklch(49% 0.169 260.6)

  9. Step 800

    800

    #1C4B99

    oklch(42.8% 0.138 260.1)

  10. Step 900

    900

    #1D3F7A

    oklch(37.7% 0.108 260.6)

  11. Step 950

    950

    #122547

    oklch(26.9% 0.068 261.1)

Export this scale for Tailwind in the Tailwind colors tool

#2A6AD7 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)#2277DB0.033
Deuteranopia (no green cones)#0067D50.020
Tritanopia (no blue cones)#0085960.140
Achromatopsia (no color)#6E6E6E0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6AD7

    #2A6AD7

    oklch(54.6% 0.18 260.4)

  • #926800

    #926800

    oklch(54.6% 0.113 80.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6AD7

    #2A6AD7

    oklch(54.6% 0.18 260.4)

  • #007BA4

    #007BA4

    oklch(54.6% 0.11 230.5)

  • #7356CF

    #7356CF

    oklch(54.6% 0.179 290.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A6AD7

    #2A6AD7

    oklch(54.6% 0.18 260.4)

  • #AF5200

    #AF5200

    oklch(54.6% 0.143 50.8)

  • #757600

    #757600

    oklch(54.7% 0.12 110.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6AD7

    #2A6AD7

    oklch(54.6% 0.18 260.4)

  • #C33341

    #C33341

    oklch(54.6% 0.18 20.5)

  • #238700

    #238700

    oklch(54.5% 0.177 140.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6AD7

    #2A6AD7

    oklch(54.6% 0.18 260.4)

  • #B8357E

    #B8357E

    oklch(54.6% 0.181 350.5)

  • #926800

    #926800

    oklch(54.6% 0.113 80.7)

  • #008467

    #008467

    oklch(54.6% 0.108 170.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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