#2F78EB

Closest named color: Clear Blue (#247AFD). oklch(59.1% 0.188 259.5), rgb(47, 120, 235).

Aa

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

About this color

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

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

Values

HEX#2F78EB
RGBrgb(47, 120, 235)
HSLhsl(217, 82%, 55%)
OKLCHoklch(59.1% 0.188 259.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 #2F78EB 4.19:1 AA large text Lc -73.9 Content text, not long reading
Black text on #2F78EB 5.00:1 AA Lc 35.7 Non-text elements, placeholder text
#2F78EB text on white 4.19:1 AA large text Lc 68.4 Content text, not long reading
#2F78EB text on black 5.00:1 AA Lc -33.3 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

    #A0C2F8

    oklch(80.9% 0.085 259.5)

  5. Step 400

    400

    #6CA1F4

    oklch(70.8% 0.135 259.1)

  6. Step 500

    500

    #4486F0

    oklch(63.1% 0.173 259.5)

  7. Step 600

    600 (this color)

    #2F78EB

    oklch(59.1% 0.188 259.5)

  8. Step 700

    700

    #165AC2

    oklch(49.1% 0.176 259.6)

  9. Step 800

    800

    #154A9C

    oklch(42.6% 0.145 259.5)

  10. Step 900

    900

    #183F7C

    oklch(37.6% 0.113 259.2)

  11. Step 950

    950

    #0F2549

    oklch(26.9% 0.073 259.8)

Export this scale for Tailwind in the Tailwind colors tool

#2F78EB 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)#3285EF0.034
Deuteranopia (no green cones)#0074E90.022
Tritanopia (no blue cones)#0094A60.146
Achromatopsia (no color)#7C7C7C0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F78EB

    #2F78EB

    oklch(59.1% 0.188 259.5)

  • #A47300

    #A47300

    oklch(59% 0.123 79)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F78EB

    #2F78EB

    oklch(59.1% 0.188 259.5)

  • #0089B5

    #0089B5

    oklch(59% 0.117 229.8)

  • #7F62E4

    #7F62E4

    oklch(59.1% 0.189 289.6)

Open the analogous palette in the generator

Split complementary

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

  • #2F78EB

    #2F78EB

    oklch(59.1% 0.188 259.5)

  • #C55A00

    #C55A00

    oklch(59.1% 0.158 49.2)

  • #848300

    #848300

    oklch(59.1% 0.128 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F78EB

    #2F78EB

    oklch(59.1% 0.188 259.5)

  • #D63E4E

    #D63E4E

    oklch(59.1% 0.188 19.4)

  • #319600

    #319600

    oklch(59.1% 0.188 139.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F78EB

    #2F78EB

    oklch(59.1% 0.188 259.5)

  • #C9408E

    #C9408E

    oklch(59% 0.189 349.4)

  • #A47300

    #A47300

    oklch(59% 0.123 79)

  • #009372

    #009372

    oklch(59% 0.117 169.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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