#2F81DD

Closest named color: Water Blue (#0E87CC). oklch(60.1% 0.16 254.1), rgb(47, 129, 221).

Aa

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

About this color

#2F81DD is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.160 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.036 away. Black text reads best on it, at 5.30:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.160)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.30:1
White text3.95:1

Values

HEX#2F81DD
RGBrgb(47, 129, 221)
HSLhsl(212, 72%, 53%)
OKLCHoklch(60.1% 0.16 254.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 #2F81DD 3.95:1 AA large text Lc -72.0 Content text, not long reading
Black text on #2F81DD 5.30:1 AA Lc 37.6 Non-text elements, placeholder text
#2F81DD text on white 3.95:1 AA large text Lc 66.5 Content text, not long reading
#2F81DD text on black 5.30:1 AA Lc -35.2 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 500.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C6DBF6

    oklch(88.4% 0.044 254.8)

  4. Step 300

    300

    #9EC4F3

    oklch(80.9% 0.078 254)

  5. Step 400

    400

    #67A3ED

    oklch(70.6% 0.126 254.4)

  6. Step 500

    500 (this color)

    #2F81DD

    oklch(60.1% 0.16 254.1)

  7. Step 600

    600

    #0872D5

    oklch(55.6% 0.174 254)

  8. Step 700

    700

    #005FB6

    oklch(49% 0.157 254.2)

  9. Step 800

    800

    #034E96

    oklch(42.7% 0.135 254.2)

  10. Step 900

    900

    #114277

    oklch(37.8% 0.104 253.8)

  11. Step 950

    950

    #0C2746

    oklch(27.1% 0.066 254)

Export this scale for Tailwind in the Tailwind colors tool

#2F81DD 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)#5388E10.038
Deuteranopia (no green cones)#3479DB0.021
Tritanopia (no blue cones)#0097A40.121
Achromatopsia (no color)#8080800.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F81DD

    #2F81DD

    oklch(60.1% 0.16 254.1)

  • #AD7300

    #AD7300

    oklch(60.1% 0.127 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F81DD

    #2F81DD

    oklch(60.1% 0.16 254.1)

  • #008EB2

    #008EB2

    oklch(60.1% 0.113 223.9)

  • #776FDB

    #776FDB

    oklch(60.1% 0.16 283.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F81DD

    #2F81DD

    oklch(60.1% 0.16 254.1)

  • #CB591D

    #CB591D

    oklch(60% 0.16 44)

  • #8D8300

    #8D8300

    oklch(60% 0.127 104.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F81DD

    #2F81DD

    oklch(60.1% 0.16 254.1)

  • #CE4F63

    #CE4F63

    oklch(60.1% 0.161 13.9)

  • #55941C

    #55941C

    oklch(60.1% 0.161 134.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F81DD

    #2F81DD

    oklch(60.1% 0.16 254.1)

  • #C05398

    #C05398

    oklch(60.2% 0.16 344.1)

  • #AD7300

    #AD7300

    oklch(60.1% 0.127 74.1)

  • #00986C

    #00986C

    oklch(60.2% 0.128 164.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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