#2862F3

Closest named color: Azul (#1D5DEC). oklch(55.2% 0.226 263.8), rgb(40, 98, 243).

Aa

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

About this color

#2862F3 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.226 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Azul (#1D5DEC), ΔE 0.018 away. White text reads best on it, at 5.08:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.226)
Temperaturecool
Nearest nameAzul (#1D5DEC)
Black text4.13:1
White text5.08:1

Values

HEX#2862F3
RGBrgb(40, 98, 243)
HSLhsl(223, 89%, 55%)
OKLCHoklch(55.2% 0.226 263.8)

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 #2862F3 5.08:1 AA Lc -79.7 Fine for body text
Black text on #2862F3 4.13:1 AA large text Lc 29.8 Dividers and decoration only
#2862F3 text on white 5.08:1 AA Lc 74.3 Content text, not long reading
#2862F3 text on black 4.13: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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFE

    oklch(93.6% 0.029 264.4)

  3. Step 200

    200

    #C7DAFF

    oklch(88.6% 0.055 263.7)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6F9DFF

    oklch(70.7% 0.152 263.9)

  6. Step 500

    500

    #4980FF

    oklch(63% 0.198 264)

  7. Step 600

    600 (this color)

    #2862F3

    oklch(55.2% 0.226 263.8)

  8. Step 700

    700

    #1D51D5

    oklch(49.1% 0.21 263.8)

  9. Step 800

    800

    #1A43AC

    oklch(42.6% 0.174 264)

  10. Step 900

    900

    #1A3B88

    oklch(37.8% 0.135 263.7)

  11. Step 950

    950

    #102350

    oklch(27% 0.086 264.2)

Export this scale for Tailwind in the Tailwind colors tool

#2862F3 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)#0078F80.051
Deuteranopia (no green cones)#0065F00.016
Tritanopia (no blue cones)#0088A10.175
Achromatopsia (no color)#6E6E6E0.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #2862F3

    #2862F3

    oklch(55.2% 0.226 263.8)

  • #916B00

    #916B00

    oklch(55.1% 0.113 83.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2862F3

    #2862F3

    oklch(55.2% 0.226 263.8)

  • #007CAB

    #007CAB

    oklch(55.2% 0.116 234)

  • #7F46E5

    #7F46E5

    oklch(55.1% 0.226 294.2)

Open the analogous palette in the generator

Split complementary

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

  • #2862F3

    #2862F3

    oklch(55.2% 0.226 263.8)

  • #AE5700

    #AE5700

    oklch(55.2% 0.138 54.1)

  • #727900

    #727900

    oklch(55.1% 0.124 113.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2862F3

    #2862F3

    oklch(55.2% 0.226 263.8)

  • #D60028

    #D60028

    oklch(55.2% 0.223 23.9)

  • #008B18

    #008B18

    oklch(55.3% 0.18 143.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2862F3

    #2862F3

    oklch(55.2% 0.226 263.8)

  • #CB047B

    #CB047B

    oklch(55.2% 0.226 354)

  • #916B00

    #916B00

    oklch(55.1% 0.113 83.9)

  • #00866D

    #00866D

    oklch(55.3% 0.106 173.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2862F3 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.