#2D70E1

Closest named color: Royal Blue (#4169E1). oklch(56.7% 0.185 260.3), rgb(45, 112, 225).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.185)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.51:1
White text4.64:1

Values

HEX#2D70E1
RGBrgb(45, 112, 225)
HSLhsl(218, 75%, 53%)
OKLCHoklch(56.7% 0.185 260.3)

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 #2D70E1 4.64:1 AA Lc -77.2 Fine for body text
Black text on #2D70E1 4.51:1 AA Lc 32.3 Non-text elements, placeholder text
#2D70E1 text on white 4.64:1 AA Lc 71.8 Content text, not long reading
#2D70E1 text on black 4.51:1 AA Lc -29.9 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

    #E1EBFB

    oklch(93.7% 0.024 259.8)

  3. Step 200

    200

    #C8DAF9

    oklch(88.5% 0.047 261.4)

  4. Step 300

    300

    #A2C2F7

    oklch(80.9% 0.083 260.4)

  5. Step 400

    400

    #6FA0F3

    oklch(70.7% 0.133 260.5)

  6. Step 500

    500

    #4886EF

    oklch(63.2% 0.171 260.3)

  7. Step 600

    600 (this color)

    #2D70E1

    oklch(56.7% 0.185 260.3)

  8. Step 700

    700

    #1D5AC0

    oklch(49.1% 0.172 260.3)

  9. Step 800

    800

    #1A4A9B

    oklch(42.6% 0.142 260.3)

  10. Step 900

    900

    #1B3F7B

    oklch(37.7% 0.11 260)

  11. Step 950

    950

    #112548

    oklch(26.9% 0.07 260.7)

Export this scale for Tailwind in the Tailwind colors tool

#2D70E1 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)#277DE50.033
Deuteranopia (no green cones)#006DDF0.021
Tritanopia (no blue cones)#008B9E0.142
Achromatopsia (no color)#7474740.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D70E1

    #2D70E1

    oklch(56.7% 0.185 260.3)

  • #9A6D00

    #9A6D00

    oklch(56.6% 0.117 80)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D70E1

    #2D70E1

    oklch(56.7% 0.185 260.3)

  • #0081AC

    #0081AC

    oklch(56.5% 0.114 230.6)

  • #795BD9

    #795BD9

    oklch(56.7% 0.185 290.2)

Open the analogous palette in the generator

Split complementary

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

  • #2D70E1

    #2D70E1

    oklch(56.7% 0.185 260.3)

  • #B95600

    #B95600

    oklch(56.7% 0.149 50.2)

  • #7B7C00

    #7B7C00

    oklch(56.7% 0.124 110.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D70E1

    #2D70E1

    oklch(56.7% 0.185 260.3)

  • #CC3746

    #CC3746

    oklch(56.6% 0.185 20.1)

  • #278E00

    #278E00

    oklch(56.6% 0.183 140.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D70E1

    #2D70E1

    oklch(56.7% 0.185 260.3)

  • #C03A85

    #C03A85

    oklch(56.6% 0.184 350.2)

  • #9A6D00

    #9A6D00

    oklch(56.6% 0.117 80)

  • #008B6D

    #008B6D

    oklch(56.7% 0.111 170.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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