#2865DB

Closest named color: Royal Blue (#4169E1). oklch(53.8% 0.192 261.8), rgb(40, 101, 219).

Aa

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

About this color

#2865DB is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.192 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.027 away. White text reads best on it, at 5.28:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.192)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text3.97:1
White text5.28:1

Values

HEX#2865DB
RGBrgb(40, 101, 219)
HSLhsl(220, 71%, 51%)
OKLCHoklch(53.8% 0.192 261.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 #2865DB 5.28:1 AA Lc -81.0 Fine for body text
Black text on #2865DB 3.97:1 AA large text Lc 28.4 Dividers and decoration only
#2865DB text on white 5.28:1 AA Lc 75.7 Fine for body text
#2865DB text on black 3.97:1 AA large text Lc -26.1 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

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C8DAFA

    oklch(88.5% 0.048 262)

  4. Step 300

    300

    #A2C1F9

    oklch(80.8% 0.087 262)

  5. Step 400

    400

    #709FF6

    oklch(70.7% 0.138 261.9)

  6. Step 500

    500

    #4A84F2

    oklch(63% 0.176 261.8)

  7. Step 600

    600 (this color)

    #2865DB

    oklch(53.8% 0.192 261.8)

  8. Step 700

    700

    #2158C4

    oklch(49.1% 0.179 262)

  9. Step 800

    800

    #1D499E

    oklch(42.8% 0.147 261.8)

  10. Step 900

    900

    #1D3E7E

    oklch(37.8% 0.115 262)

  11. Step 950

    950

    #11254A

    oklch(27.1% 0.074 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#2865DB 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)#0074DF0.037
Deuteranopia (no green cones)#0064D90.017
Tritanopia (no blue cones)#0082960.148
Achromatopsia (no color)#6C6C6C0.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #2865DB

    #2865DB

    oklch(53.8% 0.192 261.8)

  • #8E6600

    #8E6600

    oklch(53.7% 0.111 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2865DB

    #2865DB

    oklch(53.8% 0.192 261.8)

  • #0078A2

    #0078A2

    oklch(53.8% 0.109 231.7)

  • #744FD2

    #744FD2

    oklch(53.8% 0.192 291.6)

Open the analogous palette in the generator

Split complementary

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

  • #2865DB

    #2865DB

    oklch(53.8% 0.192 261.8)

  • #AA5100

    #AA5100

    oklch(53.7% 0.139 51.7)

  • #717400

    #717400

    oklch(53.8% 0.119 111.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2865DB

    #2865DB

    oklch(53.8% 0.192 261.8)

  • #C52738

    #C52738

    oklch(53.8% 0.192 21.6)

  • #118600

    #118600

    oklch(53.9% 0.18 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2865DB

    #2865DB

    oklch(53.8% 0.192 261.8)

  • #BA2A7A

    #BA2A7A

    oklch(53.8% 0.192 351.9)

  • #8E6600

    #8E6600

    oklch(53.7% 0.111 81.6)

  • #008167

    #008167

    oklch(53.7% 0.104 172.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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