#2F7AEE

Closest named color: Clear Blue (#247AFD). oklch(59.7% 0.19 259.2), rgb(47, 122, 238).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.190)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.13:1
White text4.08:1

Values

HEX#2F7AEE
RGBrgb(47, 122, 238)
HSLhsl(216, 85%, 56%)
OKLCHoklch(59.7% 0.19 259.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 #2F7AEE 4.08:1 AA large text Lc -73.0 Content text, not long reading
Black text on #2F7AEE 5.13:1 AA Lc 36.6 Non-text elements, placeholder text
#2F7AEE text on white 4.08:1 AA large text Lc 67.5 Content text, not long reading
#2F7AEE text on black 5.13:1 AA Lc -34.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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFC

    oklch(88.6% 0.051 258.4)

  4. Step 300

    300

    #9DC2FD

    oklch(80.9% 0.093 259.6)

  5. Step 400

    400

    #66A0FC

    oklch(70.7% 0.149 259.3)

  6. Step 500

    500 (this color)

    #2F7AEE

    oklch(59.7% 0.19 259.2)

  7. Step 600

    600

    #126BE9

    oklch(55.7% 0.206 259.2)

  8. Step 700

    700

    #0158CB

    oklch(49.2% 0.193 259.3)

  9. Step 800

    800

    #0849A4

    oklch(42.8% 0.159 259.2)

  10. Step 900

    900

    #123E82

    oklch(37.7% 0.124 259.3)

  11. Step 950

    950

    #0C254C

    oklch(27% 0.079 259.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F7AEE 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)#3487F20.034
Deuteranopia (no green cones)#0075EC0.024
Tritanopia (no blue cones)#0096A90.145
Achromatopsia (no color)#7E7E7E0.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7AEE

    #2F7AEE

    oklch(59.7% 0.19 259.2)

  • #A67500

    #A67500

    oklch(59.7% 0.124 79.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7AEE

    #2F7AEE

    oklch(59.7% 0.19 259.2)

  • #008CB7

    #008CB7

    oklch(59.8% 0.118 228.7)

  • #8064E7

    #8064E7

    oklch(59.7% 0.19 289.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F7AEE

    #2F7AEE

    oklch(59.7% 0.19 259.2)

  • #C85B00

    #C85B00

    oklch(59.7% 0.16 49)

  • #868500

    #868500

    oklch(59.8% 0.13 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7AEE

    #2F7AEE

    oklch(59.7% 0.19 259.2)

  • #D93F50

    #D93F50

    oklch(59.7% 0.19 19.1)

  • #349800

    #349800

    oklch(59.7% 0.189 139.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7AEE

    #2F7AEE

    oklch(59.7% 0.19 259.2)

  • #CC4291

    #CC4291

    oklch(59.8% 0.19 349.1)

  • #A67500

    #A67500

    oklch(59.7% 0.124 79.4)

  • #009673

    #009673

    oklch(59.8% 0.12 168.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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