#2F81DE

Closest named color: Water Blue (#0E87CC). oklch(60.2% 0.162 254.3), rgb(47, 129, 222).

Aa

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

About this color

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

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

Values

HEX#2F81DE
RGBrgb(47, 129, 222)
HSLhsl(212, 73%, 53%)
OKLCHoklch(60.2% 0.162 254.3)

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 #2F81DE 3.95:1 AA large text Lc -71.9 Content text, not long reading
Black text on #2F81DE 5.31:1 AA Lc 37.6 Non-text elements, placeholder text
#2F81DE text on white 3.95:1 AA large text Lc 66.4 Content text, not long reading
#2F81DE text on black 5.31: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

    #67A3EE

    oklch(70.6% 0.127 254.7)

  6. Step 500

    500 (this color)

    #2F81DE

    oklch(60.2% 0.162 254.3)

  7. Step 600

    600

    #0872D6

    oklch(55.6% 0.175 254.2)

  8. Step 700

    700

    #005FB7

    oklch(49.1% 0.158 254.4)

  9. Step 800

    800

    #034E96

    oklch(42.7% 0.135 254.2)

  10. Step 900

    900

    #114178

    oklch(37.6% 0.106 254.9)

  11. Step 950

    950

    #0C2746

    oklch(27.1% 0.066 254)

Export this scale for Tailwind in the Tailwind colors tool

#2F81DE 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)#5389E20.039
Deuteranopia (no green cones)#3379DC0.021
Tritanopia (no blue cones)#0097A50.121
Achromatopsia (no color)#8080800.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F81DE

    #2F81DE

    oklch(60.2% 0.162 254.3)

  • #AD7300

    #AD7300

    oklch(60.1% 0.127 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F81DE

    #2F81DE

    oklch(60.2% 0.162 254.3)

  • #008EB3

    #008EB3

    oklch(60.1% 0.114 224.6)

  • #786FDC

    #786FDC

    oklch(60.2% 0.161 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F81DE

    #2F81DE

    oklch(60.2% 0.162 254.3)

  • #CC591B

    #CC591B

    oklch(60.1% 0.162 44.2)

  • #8D8400

    #8D8400

    oklch(60.2% 0.128 104.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F81DE

    #2F81DE

    oklch(60.2% 0.162 254.3)

  • #CE4F62

    #CE4F62

    oklch(60.1% 0.161 14.4)

  • #54941C

    #54941C

    oklch(60.1% 0.161 134.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F81DE

    #2F81DE

    oklch(60.2% 0.162 254.3)

  • #C05298

    #C05298

    oklch(60.1% 0.162 344)

  • #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 #2F81DE, closest first.

Similar named colors

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

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