#2F6CD1

Closest named color: Royal Blue (#4169E1). oklch(54.7% 0.169 260), rgb(47, 108, 209).

Aa

White text reads best on this color (5.01:1).

About this color

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

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.169)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.18:1
White text5.01:1

Values

HEX#2F6CD1
RGBrgb(47, 108, 209)
HSLhsl(217, 64%, 50%)
OKLCHoklch(54.7% 0.169 260)

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 #2F6CD1 5.01:1 AA Lc -79.6 Fine for body text
Black text on #2F6CD1 4.18:1 AA large text Lc 29.9 Dividers and decoration only
#2F6CD1 text on white 5.01:1 AA Lc 74.2 Content text, not long reading
#2F6CD1 text on black 4.18:1 AA large text Lc -27.5 Dividers and decoration only

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

    #E1EAF9

    oklch(93.5% 0.023 260.7)

  3. Step 200

    200

    #C9DAF6

    oklch(88.4% 0.043 260.4)

  4. Step 300

    300

    #A4C2F2

    oklch(80.9% 0.076 259.7)

  5. Step 400

    400

    #73A1EC

    oklch(70.7% 0.121 259.8)

  6. Step 500

    500

    #4E87E6

    oklch(63.1% 0.156 260)

  7. Step 600

    600 (this color)

    #2F6CD1

    oklch(54.7% 0.169 260)

  8. Step 700

    700

    #245CB8

    oklch(49.1% 0.157 260)

  9. Step 800

    800

    #204C95

    oklch(42.8% 0.13 260)

  10. Step 900

    900

    #1F4076

    oklch(37.7% 0.1 259.8)

  11. Step 950

    950

    #132645

    oklch(27.1% 0.063 259.7)

Export this scale for Tailwind in the Tailwind colors tool

#2F6CD1 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)#3277D50.030
Deuteranopia (no green cones)#0068CF0.025
Tritanopia (no blue cones)#0084940.131
Achromatopsia (no color)#6F6F6F0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F6CD1

    #2F6CD1

    oklch(54.7% 0.169 260)

  • #936800

    #936800

    oklch(54.8% 0.113 80.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F6CD1

    #2F6CD1

    oklch(54.7% 0.169 260)

  • #007BA4

    #007BA4

    oklch(54.6% 0.11 230.5)

  • #7259CA

    #7259CA

    oklch(54.7% 0.168 289.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F6CD1

    #2F6CD1

    oklch(54.7% 0.169 260)

  • #B15100

    #B15100

    oklch(54.7% 0.145 49.7)

  • #767600

    #767600

    oklch(54.8% 0.119 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F6CD1

    #2F6CD1

    oklch(54.7% 0.169 260)

  • #BF3A46

    #BF3A46

    oklch(54.7% 0.169 19.8)

  • #2D8711

    #2D8711

    oklch(54.8% 0.169 140)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F6CD1

    #2F6CD1

    oklch(54.7% 0.169 260)

  • #B43C7E

    #B43C7E

    oklch(54.7% 0.169 350.2)

  • #936800

    #936800

    oklch(54.8% 0.113 80.1)

  • #008567

    #008567

    oklch(54.8% 0.109 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 #2F6CD1, closest first.

Similar named colors

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

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