#2F6EDA

Closest named color: Royal Blue (#4169E1). oklch(55.8% 0.178 260.5), rgb(47, 110, 218).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.178)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.36:1
White text4.81:1

Values

HEX#2F6EDA
RGBrgb(47, 110, 218)
HSLhsl(218, 70%, 52%)
OKLCHoklch(55.8% 0.178 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 #2F6EDA 4.81:1 AA Lc -78.3 Fine for body text
Black text on #2F6EDA 4.36:1 AA large text Lc 31.2 Non-text elements, placeholder text
#2F6EDA text on white 4.81:1 AA Lc 72.9 Content text, not long reading
#2F6EDA text on black 4.36:1 AA large text Lc -28.8 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFA

    oklch(93.5% 0.024 262.1)

  3. Step 200

    200

    #C9DAF7

    oklch(88.5% 0.044 261.2)

  4. Step 300

    300

    #A3C2F5

    oklch(80.9% 0.08 260.3)

  5. Step 400

    400

    #71A0F0

    oklch(70.6% 0.128 260.6)

  6. Step 500

    500

    #4C86EB

    oklch(63.1% 0.164 260.7)

  7. Step 600

    600 (this color)

    #2F6EDA

    oklch(55.8% 0.178 260.5)

  8. Step 700

    700

    #215BBD

    oklch(49.2% 0.166 260.4)

  9. Step 800

    800

    #1D4B98

    oklch(42.7% 0.136 260.2)

  10. Step 900

    900

    #1D3F79

    oklch(37.6% 0.107 260.4)

  11. Step 950

    950

    #122547

    oklch(26.9% 0.068 261.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F6EDA 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)#2C7ADE0.031
Deuteranopia (no green cones)#006BD80.023
Tritanopia (no blue cones)#00889A0.137
Achromatopsia (no color)#7272720.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F6EDA

    #2F6EDA

    oklch(55.8% 0.178 260.5)

  • #976B00

    #976B00

    oklch(55.9% 0.116 80.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F6EDA

    #2F6EDA

    oklch(55.8% 0.178 260.5)

  • #007FA9

    #007FA9

    oklch(55.9% 0.112 230.4)

  • #775AD2

    #775AD2

    oklch(55.8% 0.177 290.6)

Open the analogous palette in the generator

Split complementary

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

  • #2F6EDA

    #2F6EDA

    oklch(55.8% 0.178 260.5)

  • #B55400

    #B55400

    oklch(55.8% 0.147 50.2)

  • #787900

    #787900

    oklch(55.7% 0.122 110.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F6EDA

    #2F6EDA

    oklch(55.8% 0.178 260.5)

  • #C73945

    #C73945

    oklch(55.9% 0.178 20.6)

  • #278B08

    #278B08

    oklch(55.8% 0.178 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F6EDA

    #2F6EDA

    oklch(55.8% 0.178 260.5)

  • #BB3B81

    #BB3B81

    oklch(55.8% 0.177 350.7)

  • #976B00

    #976B00

    oklch(55.9% 0.116 80.2)

  • #00886A

    #00886A

    oklch(55.8% 0.11 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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