#2861CB

Closest named color: Warm Blue (#4B57DB). oklch(51.7% 0.176 261.4), rgb(40, 97, 203).

Aa

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

About this color

#2861CB is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.176 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.047 away. White text reads best on it, at 5.73:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.176)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.66:1
White text5.73:1

Values

HEX#2861CB
RGBrgb(40, 97, 203)
HSLhsl(219, 67%, 48%)
OKLCHoklch(51.7% 0.176 261.4)

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 #2861CB 5.73:1 AA Lc -83.4 Fine for body text
Black text on #2861CB 3.66:1 AA large text Lc 25.9 Dividers and decoration only
#2861CB text on white 5.73:1 AA Lc 78.1 Fine for body text
#2861CB text on black 3.66:1 AA large text Lc -23.6 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 700.

  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

    #C8DAF9

    oklch(88.5% 0.047 261.4)

  4. Step 300

    300

    #A2C1F8

    oklch(80.8% 0.085 261.7)

  5. Step 400

    400

    #709FF5

    oklch(70.6% 0.137 261.7)

  6. Step 500

    500

    #4A85F1

    oklch(63.2% 0.174 261.3)

  7. Step 600

    600

    #2D6BDF

    oklch(55.5% 0.189 261.5)

  8. Step 700

    700 (this color)

    #2861CB

    oklch(51.7% 0.176 261.4)

  9. Step 800

    800

    #1C499D

    oklch(42.6% 0.146 261.4)

  10. Step 900

    900

    #1D3E7D

    oklch(37.7% 0.114 261.8)

  11. Step 950

    950

    #112549

    oklch(27% 0.072 261.1)

Export this scale for Tailwind in the Tailwind colors tool

#2861CB 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)#136ECF0.033
Deuteranopia (no green cones)#005FC90.019
Tritanopia (no blue cones)#007B8C0.137
Achromatopsia (no color)#6666660.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #2861CB

    #2861CB

    oklch(51.7% 0.176 261.4)

  • #876100

    #876100

    oklch(51.8% 0.107 81.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2861CB

    #2861CB

    oklch(51.7% 0.176 261.4)

  • #007299

    #007299

    oklch(51.8% 0.104 231)

  • #6D4DC3

    #6D4DC3

    oklch(51.8% 0.176 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #2861CB

    #2861CB

    oklch(51.7% 0.176 261.4)

  • #A24C00

    #A24C00

    oklch(51.7% 0.134 51.2)

  • #6B6E00

    #6B6E00

    oklch(51.8% 0.114 111.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2861CB

    #2861CB

    oklch(51.7% 0.176 261.4)

  • #B82C38

    #B82C38

    oklch(51.9% 0.176 21.6)

  • #157E00

    #157E00

    oklch(51.6% 0.171 141.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2861CB

    #2861CB

    oklch(51.7% 0.176 261.4)

  • #AD2E74

    #AD2E74

    oklch(51.8% 0.175 351.3)

  • #876100

    #876100

    oklch(51.8% 0.107 81.8)

  • #007A61

    #007A61

    oklch(51.6% 0.1 171.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2861CB 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.