#2875EB

Closest named color: Cerulean Blue (#056EEE). oklch(58.3% 0.194 259.3), rgb(40, 117, 235).

Aa

Black text reads best on this color (4.83:1).

About this color

#2875EB is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.194 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.024 away. Black text reads best on it, at 4.83:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.194)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.83:1
White text4.34:1

Values

HEX#2875EB
RGBrgb(40, 117, 235)
HSLhsl(216, 83%, 54%)
OKLCHoklch(58.3% 0.194 259.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 #2875EB 4.34:1 AA large text Lc -75.0 Content text, not long reading
Black text on #2875EB 4.83:1 AA Lc 34.6 Non-text elements, placeholder text
#2875EB text on white 4.34:1 AA large text Lc 69.5 Content text, not long reading
#2875EB text on black 4.83:1 AA Lc -32.2 Non-text elements, placeholder text

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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBFA

    oklch(88.6% 0.048 258)

  4. Step 300

    300

    #9FC2F9

    oklch(80.8% 0.087 259.3)

  5. Step 400

    400

    #6AA0F7

    oklch(70.6% 0.14 259.6)

  6. Step 500

    500

    #4186F3

    oklch(63.1% 0.178 259.3)

  7. Step 600

    600 (this color)

    #2875EB

    oklch(58.3% 0.194 259.3)

  8. Step 700

    700

    #105AC4

    oklch(49.2% 0.179 259.2)

  9. Step 800

    800

    #124A9E

    oklch(42.7% 0.148 259.2)

  10. Step 900

    900

    #163F7E

    oklch(37.7% 0.116 259.1)

  11. Step 950

    950

    #0E254A

    oklch(26.9% 0.075 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#2875EB 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)#2782EF0.033
Deuteranopia (no green cones)#0071E90.019
Tritanopia (no blue cones)#0092A50.148
Achromatopsia (no color)#7979790.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #2875EB

    #2875EB

    oklch(58.3% 0.194 259.3)

  • #A17100

    #A17100

    oklch(58.3% 0.121 79.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2875EB

    #2875EB

    oklch(58.3% 0.194 259.3)

  • #0087B1

    #0087B1

    oklch(58.3% 0.115 229)

  • #7C5FE4

    #7C5FE4

    oklch(58.4% 0.193 289)

Open the analogous palette in the generator

Split complementary

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

  • #2875EB

    #2875EB

    oklch(58.3% 0.194 259.3)

  • #C15800

    #C15800

    oklch(58.2% 0.156 49.2)

  • #818000

    #818000

    oklch(58.2% 0.126 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2875EB

    #2875EB

    oklch(58.3% 0.194 259.3)

  • #D5374A

    #D5374A

    oklch(58.2% 0.193 19.3)

  • #329300

    #329300

    oklch(58.3% 0.185 139.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2875EB

    #2875EB

    oklch(58.3% 0.194 259.3)

  • #C83B8C

    #C83B8C

    oklch(58.3% 0.193 349.5)

  • #A17100

    #A17100

    oklch(58.3% 0.121 79.1)

  • #009170

    #009170

    oklch(58.4% 0.116 169.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2875EB 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.