#2F78ED

Closest named color: Clear Blue (#247AFD). oklch(59.2% 0.191 259.7), rgb(47, 120, 237).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.191)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.03:1
White text4.17:1

Values

HEX#2F78ED
RGBrgb(47, 120, 237)
HSLhsl(217, 84%, 56%)
OKLCHoklch(59.2% 0.191 259.7)

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 #2F78ED 4.17:1 AA large text Lc -73.7 Content text, not long reading
Black text on #2F78ED 5.03:1 AA Lc 35.9 Non-text elements, placeholder text
#2F78ED text on white 4.17:1 AA large text Lc 68.2 Content text, not long reading
#2F78ED text on black 5.03:1 AA Lc -33.4 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C7DAF9

    oklch(88.4% 0.048 260.2)

  4. Step 300

    300

    #A0C2F9

    oklch(80.9% 0.087 259.9)

  5. Step 400

    400

    #6CA0F6

    oklch(70.7% 0.138 260)

  6. Step 500

    500

    #4386F2

    oklch(63.2% 0.176 259.6)

  7. Step 600

    600 (this color)

    #2F78ED

    oklch(59.2% 0.191 259.7)

  8. Step 700

    700

    #155AC3

    oklch(49.2% 0.177 259.6)

  9. Step 800

    800

    #154A9E

    oklch(42.8% 0.148 259.8)

  10. Step 900

    900

    #183F7D

    oklch(37.7% 0.114 259.5)

  11. Step 950

    950

    #0F2549

    oklch(26.9% 0.073 259.8)

Export this scale for Tailwind in the Tailwind colors tool

#2F78ED 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)#2F85F10.034
Deuteranopia (no green cones)#0074EB0.022
Tritanopia (no blue cones)#0094A70.147
Achromatopsia (no color)#7C7C7C0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F78ED

    #2F78ED

    oklch(59.2% 0.191 259.7)

  • #A47400

    #A47400

    oklch(59.2% 0.123 79.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F78ED

    #2F78ED

    oklch(59.2% 0.191 259.7)

  • #008AB6

    #008AB6

    oklch(59.3% 0.118 229.6)

  • #8062E5

    #8062E5

    oklch(59.3% 0.19 289.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F78ED

    #2F78ED

    oklch(59.2% 0.191 259.7)

  • #C55B00

    #C55B00

    oklch(59.3% 0.157 49.7)

  • #848400

    #848400

    oklch(59.4% 0.129 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F78ED

    #2F78ED

    oklch(59.2% 0.191 259.7)

  • #D83D4D

    #D83D4D

    oklch(59.3% 0.191 19.7)

  • #2F9700

    #2F9700

    oklch(59.3% 0.19 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F78ED

    #2F78ED

    oklch(59.2% 0.191 259.7)

  • #CB3F8E

    #CB3F8E

    oklch(59.2% 0.191 349.8)

  • #A47400

    #A47400

    oklch(59.2% 0.123 79.7)

  • #009473

    #009473

    oklch(59.3% 0.118 169.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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