#2A6FDE

Closest named color: Royal Blue (#4169E1). oklch(56.1% 0.183 259.8), rgb(42, 111, 222).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.183)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.42:1
White text4.74:1

Values

HEX#2A6FDE
RGBrgb(42, 111, 222)
HSLhsl(217, 73%, 52%)
OKLCHoklch(56.1% 0.183 259.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 #2A6FDE 4.74:1 AA Lc -77.8 Fine for body text
Black text on #2A6FDE 4.42:1 AA large text Lc 31.7 Non-text elements, placeholder text
#2A6FDE text on white 4.74:1 AA Lc 72.4 Content text, not long reading
#2A6FDE text on black 4.42:1 AA large text Lc -29.3 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

    #A1C2F6

    oklch(80.8% 0.082 259.4)

  5. Step 400

    400

    #6EA1F2

    oklch(70.8% 0.131 259.3)

  6. Step 500

    500

    #4786EE

    oklch(63% 0.17 259.9)

  7. Step 600

    600 (this color)

    #2A6FDE

    oklch(56.1% 0.183 259.8)

  8. Step 700

    700

    #1B5BBF

    oklch(49.2% 0.17 259.6)

  9. Step 800

    800

    #194B9A

    oklch(42.8% 0.14 259.6)

  10. Step 900

    900

    #1B3F7B

    oklch(37.7% 0.11 260)

  11. Step 950

    950

    #102548

    oklch(26.9% 0.071 260)

Export this scale for Tailwind in the Tailwind colors tool

#2A6FDE 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)#287CE20.034
Deuteranopia (no green cones)#006BDC0.021
Tritanopia (no blue cones)#008A9C0.141
Achromatopsia (no color)#7373730.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6FDE

    #2A6FDE

    oklch(56.1% 0.183 259.8)

  • #986C00

    #986C00

    oklch(56.2% 0.116 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6FDE

    #2A6FDE

    oklch(56.1% 0.183 259.8)

  • #0080A9

    #0080A9

    oklch(56.1% 0.111 229.6)

  • #775AD7

    #775AD7

    oklch(56.2% 0.184 289.9)

Open the analogous palette in the generator

Split complementary

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

  • #2A6FDE

    #2A6FDE

    oklch(56.1% 0.183 259.8)

  • #B75400

    #B75400

    oklch(56.1% 0.149 49.7)

  • #7A7A00

    #7A7A00

    oklch(56.1% 0.122 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6FDE

    #2A6FDE

    oklch(56.1% 0.183 259.8)

  • #CA3646

    #CA3646

    oklch(56.2% 0.184 19.7)

  • #2B8C00

    #2B8C00

    oklch(56.1% 0.18 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6FDE

    #2A6FDE

    oklch(56.1% 0.183 259.8)

  • #BE3984

    #BE3984

    oklch(56.2% 0.184 350)

  • #986C00

    #986C00

    oklch(56.2% 0.116 80.4)

  • #00896A

    #00896A

    oklch(56% 0.111 169.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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