#2781CA

Closest named color: Water Blue (#0E87CC). oklch(58.7% 0.139 247.9), rgb(39, 129, 202).

Aa

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

About this color

#2781CA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.139 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.017 away. Black text reads best on it, at 5.07:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.07:1
White text4.13:1

Values

HEX#2781CA
RGBrgb(39, 129, 202)
HSLhsl(207, 68%, 47%)
OKLCHoklch(58.7% 0.139 247.9)

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 #2781CA 4.13:1 AA large text Lc -73.5 Content text, not long reading
Black text on #2781CA 5.07:1 AA Lc 36.1 Non-text elements, placeholder text
#2781CA text on white 4.13:1 AA large text Lc 68.0 Content text, not long reading
#2781CA text on black 5.07:1 AA Lc -33.7 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C8DCF0

    oklch(88.6% 0.035 248.2)

  4. Step 300

    300

    #A1C5E8

    oklch(80.9% 0.063 247.9)

  5. Step 400

    400

    #6CA6DC

    oklch(70.7% 0.1 247.7)

  6. Step 500

    500

    #418FD2

    oklch(63.2% 0.127 247.4)

  7. Step 600

    600 (this color)

    #2781CA

    oklch(58.7% 0.139 247.9)

  8. Step 700

    700

    #0764A5

    oklch(49.1% 0.129 247.8)

  9. Step 800

    800

    #0E5286

    oklch(42.7% 0.107 247.8)

  10. Step 900

    900

    #16446B

    oklch(37.6% 0.083 247.9)

  11. Step 950

    950

    #0F283F

    oklch(27% 0.053 248.7)

Export this scale for Tailwind in the Tailwind colors tool

#2781CA 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)#5E85CD0.050
Deuteranopia (no green cones)#4676C90.034
Tritanopia (no blue cones)#00939C0.100
Achromatopsia (no color)#7D7D7D0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #2781CA

    #2781CA

    oklch(58.7% 0.139 247.9)

  • #AE6B00

    #AE6B00

    oklch(58.7% 0.129 67.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2781CA

    #2781CA

    oklch(58.7% 0.139 247.9)

  • #008BA6

    #008BA6

    oklch(58.8% 0.106 217.9)

  • #6A71CD

    #6A71CD

    oklch(58.6% 0.139 277.9)

Open the analogous palette in the generator

Split complementary

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

  • #2781CA

    #2781CA

    oklch(58.7% 0.139 247.9)

  • #C05A3A

    #C05A3A

    oklch(58.8% 0.139 38)

  • #907C00

    #907C00

    oklch(58.7% 0.121 97.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2781CA

    #2781CA

    oklch(58.7% 0.139 247.9)

  • #BF546D

    #BF546D

    oklch(58.8% 0.139 7.8)

  • #648B20

    #648B20

    oklch(58.7% 0.139 128)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2781CA

    #2781CA

    oklch(58.7% 0.139 247.9)

  • #AF5899

    #AF5899

    oklch(58.7% 0.139 337.7)

  • #AE6B00

    #AE6B00

    oklch(58.7% 0.129 67.7)

  • #00945C

    #00945C

    oklch(58.7% 0.137 158.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2781CA 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.