#2F79DD

Closest named color: Royal Blue (#4169E1). oklch(58.3% 0.169 257.2), rgb(47, 121, 221).

Aa

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

About this color

#2F79DD is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.169 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.042 away. Black text reads best on it, at 4.89:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.169)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.89:1
White text4.28:1

Values

HEX#2F79DD
RGBrgb(47, 121, 221)
HSLhsl(214, 72%, 53%)
OKLCHoklch(58.3% 0.169 257.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 #2F79DD 4.28:1 AA large text Lc -74.7 Content text, not long reading
Black text on #2F79DD 4.89:1 AA Lc 34.9 Non-text elements, placeholder text
#2F79DD text on white 4.28:1 AA large text Lc 69.2 Content text, not long reading
#2F79DD text on black 4.89:1 AA Lc -32.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 600.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C8DBF6

    oklch(88.6% 0.043 257.1)

  4. Step 300

    300

    #A2C3F2

    oklch(81% 0.076 257.2)

  5. Step 400

    400

    #6EA2EC

    oklch(70.7% 0.123 257.3)

  6. Step 500

    500

    #4689E6

    oklch(63.2% 0.156 257.2)

  7. Step 600

    600 (this color)

    #2F79DD

    oklch(58.3% 0.169 257.2)

  8. Step 700

    700

    #185EB7

    oklch(49.2% 0.156 257)

  9. Step 800

    800

    #174D94

    oklch(42.7% 0.13 257.1)

  10. Step 900

    900

    #1A4176

    oklch(37.8% 0.101 257)

  11. Step 950

    950

    #102645

    oklch(26.9% 0.064 257.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F79DD 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)#4483E10.034
Deuteranopia (no green cones)#1A73DB0.021
Tritanopia (no blue cones)#0091A00.130
Achromatopsia (no color)#7A7A7A0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F79DD

    #2F79DD

    oklch(58.3% 0.169 257.2)

  • #A37000

    #A37000

    oklch(58.3% 0.122 77.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F79DD

    #2F79DD

    oklch(58.3% 0.169 257.2)

  • #0088AF

    #0088AF

    oklch(58.4% 0.113 226.9)

  • #7866D9

    #7866D9

    oklch(58.4% 0.169 287.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F79DD

    #2F79DD

    oklch(58.3% 0.169 257.2)

  • #C45500

    #C45500

    oklch(58.2% 0.161 47.1)

  • #848000

    #848000

    oklch(58.4% 0.126 107.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F79DD

    #2F79DD

    oklch(58.3% 0.169 257.2)

  • #CC4656

    #CC4656

    oklch(58.4% 0.169 17.2)

  • #439114

    #439114

    oklch(58.4% 0.17 137.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F79DD

    #2F79DD

    oklch(58.3% 0.169 257.2)

  • #BF488E

    #BF488E

    oklch(58.3% 0.17 347.3)

  • #A37000

    #A37000

    oklch(58.3% 0.122 77.2)

  • #00916D

    #00916D

    oklch(58.3% 0.119 167.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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