#2F66E5

Closest named color: Royal Blue (#4169E1). oklch(55% 0.202 263.5), rgb(47, 102, 229).

Aa

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

About this color

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

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

Values

HEX#2F66E5
RGBrgb(47, 102, 229)
HSLhsl(222, 78%, 54%)
OKLCHoklch(55% 0.202 263.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 #2F66E5 5.05:1 AA Lc -79.7 Fine for body text
Black text on #2F66E5 4.15:1 AA large text Lc 29.8 Dividers and decoration only
#2F66E5 text on white 5.05:1 AA Lc 74.3 Content text, not long reading
#2F66E5 text on black 4.15:1 AA large text Lc -27.4 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C8DAFB

    oklch(88.5% 0.05 262.6)

  4. Step 300

    300

    #A2C1FC

    oklch(80.9% 0.091 263)

  5. Step 400

    400

    #719EFB

    oklch(70.8% 0.145 263.6)

  6. Step 500

    500

    #4C82F8

    oklch(63.1% 0.186 263.5)

  7. Step 600

    600 (this color)

    #2F66E5

    oklch(55% 0.202 263.5)

  8. Step 700

    700

    #2455C9

    oklch(49% 0.188 263.6)

  9. Step 800

    800

    #1F47A2

    oklch(42.7% 0.154 263.4)

  10. Step 900

    900

    #1E3D81

    oklch(37.8% 0.121 263.3)

  11. Step 950

    950

    #12244B

    oklch(26.9% 0.076 263.5)

Export this scale for Tailwind in the Tailwind colors tool

#2F66E5 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)#0077E90.042
Deuteranopia (no green cones)#0067E30.020
Tritanopia (no blue cones)#00869C0.157
Achromatopsia (no color)#6F6F6F0.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F66E5

    #2F66E5

    oklch(55% 0.202 263.5)

  • #916A00

    #916A00

    oklch(54.9% 0.113 83.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F66E5

    #2F66E5

    oklch(55% 0.202 263.5)

  • #007BA9

    #007BA9

    oklch(54.9% 0.114 233.6)

  • #7B4ED9

    #7B4ED9

    oklch(54.9% 0.202 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F66E5

    #2F66E5

    oklch(55% 0.202 263.5)

  • #AE5600

    #AE5600

    oklch(55.1% 0.139 53.4)

  • #727800

    #727800

    oklch(54.9% 0.123 113.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F66E5

    #2F66E5

    oklch(55% 0.202 263.5)

  • #CD2432

    #CD2432

    oklch(55% 0.202 23.6)

  • #008A14

    #008A14

    oklch(55% 0.181 143.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F66E5

    #2F66E5

    oklch(55% 0.202 263.5)

  • #C2267B

    #C2267B

    oklch(55% 0.202 353.2)

  • #916A00

    #916A00

    oklch(54.9% 0.113 83.1)

  • #00856C

    #00856C

    oklch(55% 0.105 173.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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