#2865F8

Closest named color: Bright Blue (#0165FC). oklch(56.2% 0.229 263.6), rgb(40, 101, 248).

Aa

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

About this color

#2865F8 is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.229 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Bright Blue (#0165FC), ΔE 0.015 away. White text reads best on it, at 4.87:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.229)
Temperaturecool
Nearest nameBright Blue (#0165FC)
Black text4.30:1
White text4.87:1

Values

HEX#2865F8
RGBrgb(40, 101, 248)
HSLhsl(222, 94%, 56%)
OKLCHoklch(56.2% 0.229 263.6)

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 #2865F8 4.87:1 AA Lc -78.4 Fine for body text
Black text on #2865F8 4.30:1 AA large text Lc 31.1 Non-text elements, placeholder text
#2865F8 text on white 4.87:1 AA Lc 73.0 Content text, not long reading
#2865F8 text on black 4.30:1 AA large text Lc -28.7 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

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C6DAFF

    oklch(88.5% 0.056 262.8)

  4. Step 300

    300

    #A1C1FF

    oklch(81% 0.095 263.3)

  5. Step 400

    400

    #6E9DFF

    oklch(70.6% 0.153 263.6)

  6. Step 500

    500

    #4881FF

    oklch(63.2% 0.197 263.5)

  7. Step 600

    600 (this color)

    #2865F8

    oklch(56.2% 0.229 263.6)

  8. Step 700

    700

    #1A51D6

    oklch(49.1% 0.212 263.5)

  9. Step 800

    800

    #1743AD

    oklch(42.6% 0.176 263.5)

  10. Step 900

    900

    #193A89

    oklch(37.6% 0.138 263.8)

  11. Step 950

    950

    #0F2350

    oklch(27% 0.087 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#2865F8 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)#007BFD0.051
Deuteranopia (no green cones)#0068F50.015
Tritanopia (no blue cones)#008BA50.176
Achromatopsia (no color)#7171710.229

Harmonies

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

Complementary

The opposite hue (180°).

  • #2865F8

    #2865F8

    oklch(56.2% 0.229 263.6)

  • #956E00

    #956E00

    oklch(56.2% 0.115 83.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2865F8

    #2865F8

    oklch(56.2% 0.229 263.6)

  • #007FAE

    #007FAE

    oklch(56.1% 0.117 233.4)

  • #8149EB

    #8149EB

    oklch(56.2% 0.229 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #2865F8

    #2865F8

    oklch(56.2% 0.229 263.6)

  • #B25900

    #B25900

    oklch(56.2% 0.141 54)

  • #757C00

    #757C00

    oklch(56.1% 0.126 113.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2865F8

    #2865F8

    oklch(56.2% 0.229 263.6)

  • #DB002A

    #DB002A

    oklch(56.2% 0.227 23.7)

  • #008E16

    #008E16

    oklch(56.1% 0.184 143.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2865F8

    #2865F8

    oklch(56.2% 0.229 263.6)

  • #CF087F

    #CF087F

    oklch(56.1% 0.229 353.5)

  • #956E00

    #956E00

    oklch(56.2% 0.115 83.9)

  • #008970

    #008970

    oklch(56.2% 0.107 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 #2865F8, closest first.

Similar named colors

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

Use #2865F8 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.