#2A6FFB

Closest named color: Cerulean Blue (#056EEE). oklch(58.4% 0.22 262.2), rgb(42, 111, 251).

Aa

Black text reads best on this color (4.76:1).

About this color

#2A6FFB is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.220 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.025 away. Black text reads best on it, at 4.76:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.220)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.76:1
White text4.40:1

Values

HEX#2A6FFB
RGBrgb(42, 111, 251)
HSLhsl(220, 96%, 57%)
OKLCHoklch(58.4% 0.22 262.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 #2A6FFB 4.40:1 AA large text Lc -75.3 Fine for body text
Black text on #2A6FFB 4.76:1 AA Lc 34.2 Non-text elements, placeholder text
#2A6FFB text on white 4.40:1 AA large text Lc 69.9 Content text, not long reading
#2A6FFB text on black 4.76:1 AA Lc -31.8 Non-text elements, placeholder text

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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFE

    oklch(93.6% 0.029 264.4)

  3. Step 200

    200

    #C6DAFE

    oklch(88.5% 0.054 262.2)

  4. Step 300

    300

    #9FC1FF

    oklch(80.9% 0.096 262.2)

  5. Step 400

    400

    #6B9EFF

    oklch(70.7% 0.153 262.2)

  6. Step 500

    500

    #4382FF

    oklch(63.2% 0.197 262.2)

  7. Step 600

    600 (this color)

    #2A6FFB

    oklch(58.4% 0.22 262.2)

  8. Step 700

    700

    #1553D2

    oklch(49% 0.205 262.3)

  9. Step 800

    800

    #1445AA

    oklch(42.7% 0.17 262.4)

  10. Step 900

    900

    #173C86

    oklch(37.7% 0.131 262.2)

  11. Step 950

    950

    #0E244F

    oklch(27.1% 0.084 262)

Export this scale for Tailwind in the Tailwind colors tool

#2A6FFB 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)#0082FF0.045
Deuteranopia (no green cones)#006FF80.016
Tritanopia (no blue cones)#0092AA0.169
Achromatopsia (no color)#7878780.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6FFB

    #2A6FFB

    oklch(58.4% 0.22 262.2)

  • #9E7300

    #9E7300

    oklch(58.3% 0.12 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6FFB

    #2A6FFB

    oklch(58.4% 0.22 262.2)

  • #0086B6

    #0086B6

    oklch(58.3% 0.12 232.7)

  • #8455EF

    #8455EF

    oklch(58.4% 0.219 292.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A6FFB

    #2A6FFB

    oklch(58.4% 0.22 262.2)

  • #BE5C00

    #BE5C00

    oklch(58.4% 0.15 52.1)

  • #7E8200

    #7E8200

    oklch(58.4% 0.129 111.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6FFB

    #2A6FFB

    oklch(58.4% 0.22 262.2)

  • #E02039

    #E02039

    oklch(58.3% 0.22 22.2)

  • #089600

    #089600

    oklch(58.4% 0.198 142.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6FFB

    #2A6FFB

    oklch(58.4% 0.22 262.2)

  • #D32588

    #D32588

    oklch(58.3% 0.22 352.2)

  • #9E7300

    #9E7300

    oklch(58.3% 0.12 82.4)

  • #009174

    #009174

    oklch(58.5% 0.113 172)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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