#2C6ECB

Closest named color: Windows Blue (#3778BF). oklch(54.7% 0.159 257.8), rgb(44, 110, 203).

Aa

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

About this color

#2C6ECB is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.159 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.038 away. White text reads best on it, at 5.00:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.159)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.19:1
White text5.00:1

Values

HEX#2C6ECB
RGBrgb(44, 110, 203)
HSLhsl(215, 64%, 48%)
OKLCHoklch(54.7% 0.159 257.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 #2C6ECB 5.00:1 AA Lc -79.5 Fine for body text
Black text on #2C6ECB 4.19:1 AA large text Lc 29.9 Dividers and decoration only
#2C6ECB text on white 5.00:1 AA Lc 74.1 Content text, not long reading
#2C6ECB text on black 4.19:1 AA large text Lc -27.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 600.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C9DBF4

    oklch(88.6% 0.04 256.6)

  4. Step 300

    300

    #A4C3EF

    oklch(81% 0.071 257.1)

  5. Step 400

    400

    #73A2E7

    oklch(70.7% 0.114 257.9)

  6. Step 500

    500

    #4D89E0

    oklch(63.1% 0.146 257.8)

  7. Step 600

    600 (this color)

    #2C6ECB

    oklch(54.7% 0.159 257.8)

  8. Step 700

    700

    #225EB2

    oklch(49.1% 0.147 257.8)

  9. Step 800

    800

    #1E4D90

    oklch(42.6% 0.122 257.9)

  10. Step 900

    900

    #1E4173

    oklch(37.7% 0.095 257.6)

  11. Step 950

    950

    #122643

    oklch(26.9% 0.06 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#2C6ECB 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)#3C77CF0.030
Deuteranopia (no green cones)#1569C90.020
Tritanopia (no blue cones)#0084920.123
Achromatopsia (no color)#6F6F6F0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C6ECB

    #2C6ECB

    oklch(54.7% 0.159 257.8)

  • #956700

    #956700

    oklch(54.8% 0.114 78)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C6ECB

    #2C6ECB

    oklch(54.7% 0.159 257.8)

  • #007CA1

    #007CA1

    oklch(54.7% 0.106 227.7)

  • #6E5CC6

    #6E5CC6

    oklch(54.6% 0.159 287.8)

Open the analogous palette in the generator

Split complementary

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

  • #2C6ECB

    #2C6ECB

    oklch(54.7% 0.159 257.8)

  • #B34E00

    #B34E00

    oklch(54.6% 0.15 47.6)

  • #787500

    #787500

    oklch(54.7% 0.118 107.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C6ECB

    #2C6ECB

    oklch(54.7% 0.159 257.8)

  • #BB3F4D

    #BB3F4D

    oklch(54.7% 0.159 17.6)

  • #3B8513

    #3B8513

    oklch(54.8% 0.16 137.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C6ECB

    #2C6ECB

    oklch(54.7% 0.159 257.8)

  • #AF4181

    #AF4181

    oklch(54.6% 0.159 347.7)

  • #956700

    #956700

    oklch(54.8% 0.114 78)

  • #008564

    #008564

    oklch(54.8% 0.111 167.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2C6ECB 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.