#2A6DCD

Closest named color: Royal Blue (#4169E1). oklch(54.5% 0.163 258.1), rgb(42, 109, 205).

Aa

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

About this color

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

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

Values

HEX#2A6DCD
RGBrgb(42, 109, 205)
HSLhsl(215, 66%, 48%)
OKLCHoklch(54.5% 0.163 258.1)

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 #2A6DCD 5.03:1 AA Lc -79.8 Fine for body text
Black text on #2A6DCD 4.16:1 AA large text Lc 29.7 Dividers and decoration only
#2A6DCD text on white 5.03:1 AA Lc 74.3 Content text, not long reading
#2A6DCD text on black 4.16:1 AA large text Lc -27.4 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C9DBF5

    oklch(88.6% 0.041 257.5)

  4. Step 300

    300

    #A4C3F0

    oklch(81% 0.072 257.6)

  5. Step 400

    400

    #72A2E9

    oklch(70.7% 0.117 258)

  6. Step 500

    500

    #4C89E3

    oklch(63.2% 0.15 258.1)

  7. Step 600

    600 (this color)

    #2A6DCD

    oklch(54.5% 0.163 258.1)

  8. Step 700

    700

    #205DB5

    oklch(49% 0.153 258.3)

  9. Step 800

    800

    #1D4D92

    oklch(42.7% 0.125 258.1)

  10. Step 900

    900

    #1D4175

    oklch(37.8% 0.098 257.9)

  11. Step 950

    950

    #122644

    oklch(26.9% 0.062 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#2A6DCD 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)#3877D10.031
Deuteranopia (no green cones)#0368CB0.023
Tritanopia (no blue cones)#0084930.125
Achromatopsia (no color)#6F6F6F0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6DCD

    #2A6DCD

    oklch(54.5% 0.163 258.1)

  • #946600

    #946600

    oklch(54.5% 0.114 77.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6DCD

    #2A6DCD

    oklch(54.5% 0.163 258.1)

  • #007BA1

    #007BA1

    oklch(54.5% 0.107 228.5)

  • #6F5BC8

    #6F5BC8

    oklch(54.6% 0.163 288.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A6DCD

    #2A6DCD

    oklch(54.5% 0.163 258.1)

  • #B24F00

    #B24F00

    oklch(54.6% 0.148 48.4)

  • #777400

    #777400

    oklch(54.4% 0.117 107.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6DCD

    #2A6DCD

    oklch(54.5% 0.163 258.1)

  • #BC3C4A

    #BC3C4A

    oklch(54.5% 0.163 18.3)

  • #37850D

    #37850D

    oklch(54.6% 0.164 138.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6DCD

    #2A6DCD

    oklch(54.5% 0.163 258.1)

  • #B03F80

    #B03F80

    oklch(54.5% 0.162 348.3)

  • #946600

    #946600

    oklch(54.5% 0.114 77.8)

  • #008464

    #008464

    oklch(54.5% 0.11 168.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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