#3A70EC

Closest named color: Royal Blue (#4169E1). oklch(57.9% 0.196 263.7), rgb(58, 112, 236).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.196)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.70:1
White text4.45:1

Values

HEX#3A70EC
RGBrgb(58, 112, 236)
HSLhsl(222, 82%, 58%)
OKLCHoklch(57.9% 0.196 263.7)

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 #3A70EC 4.45:1 AA large text Lc -75.9 Fine for body text
Black text on #3A70EC 4.70:1 AA Lc 33.6 Non-text elements, placeholder text
#3A70EC text on white 4.45:1 AA large text Lc 70.4 Content text, not long reading
#3A70EC text on black 4.70:1 AA Lc -31.2 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C9DAFB

    oklch(88.6% 0.049 263.7)

  4. Step 300

    300

    #A3C1FA

    oklch(80.9% 0.087 263)

  5. Step 400

    400

    #729EF8

    oklch(70.7% 0.141 263.5)

  6. Step 500

    500

    #4E83F5

    oklch(63.2% 0.18 263.4)

  7. Step 600

    600 (this color)

    #3A70EC

    oklch(57.9% 0.196 263.7)

  8. Step 700

    700

    #2756C6

    oklch(49.1% 0.182 263.7)

  9. Step 800

    800

    #2147A0

    oklch(42.6% 0.151 263.7)

  10. Step 900

    900

    #1F3D7F

    oklch(37.7% 0.118 263.4)

  11. Step 950

    950

    #13244A

    oklch(26.9% 0.074 264)

Export this scale for Tailwind in the Tailwind colors tool

#3A70EC 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)#1080F00.041
Deuteranopia (no green cones)#0070EA0.027
Tritanopia (no blue cones)#008EA30.154
Achromatopsia (no color)#7777770.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A70EC

    #3A70EC

    oklch(57.9% 0.196 263.7)

  • #9B7200

    #9B7200

    oklch(57.8% 0.119 83.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A70EC

    #3A70EC

    oklch(57.9% 0.196 263.7)

  • #0084B6

    #0084B6

    oklch(57.8% 0.121 234.1)

  • #8359E0

    #8359E0

    oklch(57.8% 0.196 293.7)

Open the analogous palette in the generator

Split complementary

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

  • #3A70EC

    #3A70EC

    oklch(57.9% 0.196 263.7)

  • #BA5D00

    #BA5D00

    oklch(58% 0.146 53.8)

  • #7A8100

    #7A8100

    oklch(57.8% 0.129 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A70EC

    #3A70EC

    oklch(57.9% 0.196 263.7)

  • #D5353D

    #D5353D

    oklch(57.8% 0.196 23.5)

  • #009419

    #009419

    oklch(57.8% 0.189 143.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A70EC

    #3A70EC

    oklch(57.9% 0.196 263.7)

  • #CB3683

    #CB3683

    oklch(58% 0.197 353.6)

  • #9B7200

    #9B7200

    oklch(57.8% 0.119 83.4)

  • #008F75

    #008F75

    oklch(58% 0.11 173.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A70EC 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.