#2F78F5

Closest named color: Clear Blue (#247AFD). oklch(59.8% 0.201 260.5), rgb(47, 120, 245).

Aa

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

About this color

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

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

Values

HEX#2F78F5
RGBrgb(47, 120, 245)
HSLhsl(218, 91%, 57%)
OKLCHoklch(59.8% 0.201 260.5)

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 #2F78F5 4.09:1 AA large text Lc -73.0 Content text, not long reading
Black text on #2F78F5 5.12:1 AA Lc 36.5 Non-text elements, placeholder text
#2F78F5 text on white 4.09:1 AA large text Lc 67.5 Content text, not long reading
#2F78F5 text on black 5.12:1 AA Lc -34.1 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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DFEBFE

    oklch(93.7% 0.029 259.6)

  3. Step 200

    200

    #C5DAFE

    oklch(88.4% 0.055 261.2)

  4. Step 300

    300

    #9DC2FF

    oklch(81% 0.096 260.2)

  5. Step 400

    400

    #679FFF

    oklch(70.7% 0.153 260.6)

  6. Step 500

    500 (this color)

    #2F78F5

    oklch(59.8% 0.201 260.5)

  7. Step 600

    600

    #1368F0

    oklch(55.6% 0.218 260.5)

  8. Step 700

    700

    #0355D1

    oklch(49.1% 0.204 260.5)

  9. Step 800

    800

    #0947A9

    oklch(42.8% 0.168 260.4)

  10. Step 900

    900

    #123D86

    oklch(37.8% 0.131 260.5)

  11. Step 950

    950

    #0C244E

    oklch(26.9% 0.083 260.7)

Export this scale for Tailwind in the Tailwind colors tool

#2F78F5 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)#2187F90.037
Deuteranopia (no green cones)#0075F30.020
Tritanopia (no blue cones)#0097AB0.156
Achromatopsia (no color)#7D7D7D0.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F78F5

    #2F78F5

    oklch(59.8% 0.201 260.5)

  • #A57600

    #A57600

    oklch(59.8% 0.124 80.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F78F5

    #2F78F5

    oklch(59.8% 0.201 260.5)

  • #008BB9

    #008BB9

    oklch(59.7% 0.12 230.6)

  • #8360EC

    #8360EC

    oklch(59.7% 0.202 290.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F78F5

    #2F78F5

    oklch(59.8% 0.201 260.5)

  • #C65D00

    #C65D00

    oklch(59.7% 0.157 50.5)

  • #848600

    #848600

    oklch(59.8% 0.131 110.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F78F5

    #2F78F5

    oklch(59.8% 0.201 260.5)

  • #DE3849

    #DE3849

    oklch(59.8% 0.201 20.6)

  • #289900

    #289900

    oklch(59.7% 0.194 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F78F5

    #2F78F5

    oklch(59.8% 0.201 260.5)

  • #D13B8F

    #D13B8F

    oklch(59.8% 0.201 350.6)

  • #A57600

    #A57600

    oklch(59.8% 0.124 80.7)

  • #009675

    #009675

    oklch(59.9% 0.118 170.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2F78F5.

Similar named colors

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

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