#2865CC

Closest named color: Royal Blue (#4169E1). oklch(52.7% 0.172 260.3), rgb(40, 101, 204).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.172)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text3.82:1
White text5.49:1

Values

HEX#2865CC
RGBrgb(40, 101, 204)
HSLhsl(218, 67%, 48%)
OKLCHoklch(52.7% 0.172 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 #2865CC 5.49:1 AA Lc -82.2 Fine for body text
Black text on #2865CC 3.82:1 AA large text Lc 27.2 Dividers and decoration only
#2865CC text on white 5.49:1 AA Lc 76.9 Fine for body text
#2865CC text on black 3.82:1 AA large text Lc -24.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

    #E1EAF9

    oklch(93.5% 0.023 260.7)

  3. Step 200

    200

    #C9DAF6

    oklch(88.4% 0.043 260.4)

  4. Step 300

    300

    #A4C2F3

    oklch(80.9% 0.077 260.1)

  5. Step 400

    400

    #73A1ED

    oklch(70.8% 0.123 260.1)

  6. Step 500

    500

    #4E87E8

    oklch(63.2% 0.158 260.3)

  7. Step 600

    600 (this color)

    #2865CC

    oklch(52.7% 0.172 260.3)

  8. Step 700

    700

    #245BB9

    oklch(49% 0.16 260.4)

  9. Step 800

    800

    #1F4B96

    oklch(42.6% 0.133 260.4)

  10. Step 900

    900

    #1F4077

    oklch(37.8% 0.102 260)

  11. Step 950

    950

    #132646

    oklch(27.1% 0.065 260.2)

Export this scale for Tailwind in the Tailwind colors tool

#2865CC 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)#2371D00.031
Deuteranopia (no green cones)#0062CA0.020
Tritanopia (no blue cones)#007E8F0.133
Achromatopsia (no color)#6969690.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #2865CC

    #2865CC

    oklch(52.7% 0.172 260.3)

  • #8B6200

    #8B6200

    oklch(52.5% 0.109 80)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2865CC

    #2865CC

    oklch(52.7% 0.172 260.3)

  • #00759C

    #00759C

    oklch(52.7% 0.105 230.4)

  • #6D52C5

    #6D52C5

    oklch(52.7% 0.172 290)

Open the analogous palette in the generator

Split complementary

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

  • #2865CC

    #2865CC

    oklch(52.7% 0.172 260.3)

  • #A74D00

    #A74D00

    oklch(52.6% 0.139 50.2)

  • #6F7000

    #6F7000

    oklch(52.7% 0.115 110.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2865CC

    #2865CC

    oklch(52.7% 0.172 260.3)

  • #B9313E

    #B9313E

    oklch(52.6% 0.172 20.4)

  • #228100

    #228100

    oklch(52.8% 0.171 140.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2865CC

    #2865CC

    oklch(52.7% 0.172 260.3)

  • #AE3378

    #AE3378

    oklch(52.6% 0.172 350.2)

  • #8B6200

    #8B6200

    oklch(52.5% 0.109 80)

  • #007E62

    #007E62

    oklch(52.8% 0.104 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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