#2F7EEE

Closest named color: Clear Blue (#247AFD). oklch(60.6% 0.185 258.1), rgb(47, 126, 238).

Aa

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

About this color

#2F7EEE is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.185 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.026 away. Black text reads best on it, at 5.33:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.185)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.33:1
White text3.93:1

Values

HEX#2F7EEE
RGBrgb(47, 126, 238)
HSLhsl(215, 85%, 56%)
OKLCHoklch(60.6% 0.185 258.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 #2F7EEE 3.93:1 AA large text Lc -71.7 Content text, not long reading
Black text on #2F7EEE 5.33:1 AA Lc 37.9 Non-text elements, placeholder text
#2F7EEE text on white 3.93:1 AA large text Lc 66.2 Content text, not long reading
#2F7EEE text on black 5.33:1 AA Lc -35.5 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9CC3FB

    oklch(80.9% 0.09 257.4)

  5. Step 400

    400

    #65A1FA

    oklch(70.7% 0.145 258.1)

  6. Step 500

    500 (this color)

    #2F7EEE

    oklch(60.6% 0.185 258.1)

  7. Step 600

    600

    #096CE6

    oklch(55.5% 0.202 258.2)

  8. Step 700

    700

    #005AC5

    oklch(49.1% 0.183 258.1)

  9. Step 800

    800

    #044AA1

    oklch(42.7% 0.154 258)

  10. Step 900

    900

    #103F80

    oklch(37.7% 0.121 258)

  11. Step 950

    950

    #0B254B

    oklch(26.9% 0.077 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F7EEE 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)#3E89F20.032
Deuteranopia (no green cones)#0078EC0.025
Tritanopia (no blue cones)#0099AA0.143
Achromatopsia (no color)#8080800.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7EEE

    #2F7EEE

    oklch(60.6% 0.185 258.1)

  • #AB7700

    #AB7700

    oklch(60.7% 0.126 78.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7EEE

    #2F7EEE

    oklch(60.6% 0.185 258.1)

  • #008FB9

    #008FB9

    oklch(60.7% 0.118 227.6)

  • #8069E8

    #8069E8

    oklch(60.6% 0.184 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F7EEE

    #2F7EEE

    oklch(60.6% 0.185 258.1)

  • #CD5B00

    #CD5B00

    oklch(60.5% 0.165 47.9)

  • #8A8700

    #8A8700

    oklch(60.6% 0.131 108.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7EEE

    #2F7EEE

    oklch(60.6% 0.185 258.1)

  • #DA4456

    #DA4456

    oklch(60.5% 0.186 18)

  • #3F9A06

    #3F9A06

    oklch(60.7% 0.185 138)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7EEE

    #2F7EEE

    oklch(60.6% 0.185 258.1)

  • #CC4795

    #CC4795

    oklch(60.5% 0.186 347.9)

  • #AB7700

    #AB7700

    oklch(60.7% 0.126 78.2)

  • #009974

    #009974

    oklch(60.7% 0.123 168.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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