#2F7FD5

Closest named color: Water Blue (#0E87CC). oklch(59.2% 0.152 253.2), rgb(47, 127, 213).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.152)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.11:1
White text4.10:1

Values

HEX#2F7FD5
RGBrgb(47, 127, 213)
HSLhsl(211, 66%, 51%)
OKLCHoklch(59.2% 0.152 253.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 #2F7FD5 4.10:1 AA large text Lc -73.3 Content text, not long reading
Black text on #2F7FD5 5.11:1 AA Lc 36.3 Non-text elements, placeholder text
#2F7FD5 text on white 4.10:1 AA large text Lc 67.8 Content text, not long reading
#2F7FD5 text on black 5.11:1 AA Lc -33.9 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A2C4ED

    oklch(81% 0.069 253.4)

  5. Step 400

    400

    #6EA4E3

    oklch(70.7% 0.109 253.1)

  6. Step 500

    500

    #458CDB

    oklch(63.1% 0.139 253)

  7. Step 600

    600 (this color)

    #2F7FD5

    oklch(59.2% 0.152 253.2)

  8. Step 700

    700

    #1361AE

    oklch(49.1% 0.142 253.2)

  9. Step 800

    800

    #144F8D

    oklch(42.6% 0.118 253.5)

  10. Step 900

    900

    #194370

    oklch(37.8% 0.09 252.7)

  11. Step 950

    950

    #102742

    oklch(27% 0.058 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F7FD5 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)#5585D80.039
Deuteranopia (no green cones)#3976D30.024
Tritanopia (no blue cones)#00939F0.114
Achromatopsia (no color)#7D7D7D0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7FD5

    #2F7FD5

    oklch(59.2% 0.152 253.2)

  • #AA7000

    #AA7000

    oklch(59.2% 0.126 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7FD5

    #2F7FD5

    oklch(59.2% 0.152 253.2)

  • #008BAD

    #008BAD

    oklch(59.1% 0.11 223)

  • #736ED4

    #736ED4

    oklch(59.2% 0.152 282.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F7FD5

    #2F7FD5

    oklch(59.2% 0.152 253.2)

  • #C55925

    #C55925

    oklch(59.2% 0.152 43.4)

  • #8B8000

    #8B8000

    oklch(59.1% 0.125 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7FD5

    #2F7FD5

    oklch(59.2% 0.152 253.2)

  • #C75063

    #C75063

    oklch(59.2% 0.152 13.3)

  • #579020

    #579020

    oklch(59.2% 0.152 133.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7FD5

    #2F7FD5

    oklch(59.2% 0.152 253.2)

  • #B95395

    #B95395

    oklch(59.1% 0.152 343.2)

  • #AA7000

    #AA7000

    oklch(59.2% 0.126 73.4)

  • #009568

    #009568

    oklch(59.3% 0.128 163.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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