#2A6FCE

Closest named color: Royal Blue (#4169E1). oklch(55% 0.162 257.5), rgb(42, 111, 206).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.162)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.26:1
White text4.92:1

Values

HEX#2A6FCE
RGBrgb(42, 111, 206)
HSLhsl(215, 66%, 49%)
OKLCHoklch(55% 0.162 257.5)

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 #2A6FCE 4.92:1 AA Lc -79.1 Fine for body text
Black text on #2A6FCE 4.26:1 AA large text Lc 30.4 Non-text elements, placeholder text
#2A6FCE text on white 4.92:1 AA Lc 73.6 Content text, not long reading
#2A6FCE text on black 4.26:1 AA large text Lc -28.1 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

    #C9DBF4

    oklch(88.6% 0.04 256.6)

  4. Step 300

    300

    #A3C3F0

    oklch(80.9% 0.073 256.9)

  5. Step 400

    400

    #71A2E9

    oklch(70.7% 0.117 257.6)

  6. Step 500

    500

    #4B89E2

    oklch(63.1% 0.149 257.6)

  7. Step 600

    600 (this color)

    #2A6FCE

    oklch(55% 0.162 257.5)

  8. Step 700

    700

    #1E5EB4

    oklch(49.1% 0.151 257.4)

  9. Step 800

    800

    #1B4D92

    oklch(42.7% 0.126 257.6)

  10. Step 900

    900

    #1D4174

    oklch(37.7% 0.097 257.5)

  11. Step 950

    950

    #122644

    oklch(26.9% 0.062 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#2A6FCE 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)#3B78D20.030
Deuteranopia (no green cones)#0F69CC0.023
Tritanopia (no blue cones)#0086940.126
Achromatopsia (no color)#7070700.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6FCE

    #2A6FCE

    oklch(55% 0.162 257.5)

  • #966700

    #966700

    oklch(54.9% 0.115 77.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6FCE

    #2A6FCE

    oklch(55% 0.162 257.5)

  • #007DA2

    #007DA2

    oklch(55% 0.107 227.5)

  • #6F5DCA

    #6F5DCA

    oklch(55.1% 0.163 287.4)

Open the analogous palette in the generator

Split complementary

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

  • #2A6FCE

    #2A6FCE

    oklch(55% 0.162 257.5)

  • #B54F00

    #B54F00

    oklch(55.1% 0.151 47.6)

  • #797600

    #797600

    oklch(55.1% 0.119 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6FCE

    #2A6FCE

    oklch(55% 0.162 257.5)

  • #BD3E4D

    #BD3E4D

    oklch(54.9% 0.162 17.5)

  • #3B860E

    #3B860E

    oklch(55.1% 0.163 137.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6FCE

    #2A6FCE

    oklch(55% 0.162 257.5)

  • #B14183

    #B14183

    oklch(55% 0.162 347.3)

  • #966700

    #966700

    oklch(54.9% 0.115 77.4)

  • #008664

    #008664

    oklch(55% 0.112 167.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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