#2A7CB1

Closest named color: Nice Blue (#107AB0). oklch(56.2% 0.113 241.6), rgb(42, 124, 177).

Aa

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

About this color

#2A7CB1 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.113 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.014 away. Black text reads best on it, at 4.61:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.113)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.61:1
White text4.54:1

Values

HEX#2A7CB1
RGBrgb(42, 124, 177)
HSLhsl(204, 62%, 43%)
OKLCHoklch(56.2% 0.113 241.6)

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 #2A7CB1 4.54:1 AA Lc -76.7 Fine for body text
Black text on #2A7CB1 4.61:1 AA Lc 32.8 Non-text elements, placeholder text
#2A7CB1 text on white 4.54:1 AA Lc 71.2 Content text, not long reading
#2A7CB1 text on black 4.61:1 AA Lc -30.4 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E2EBF3

    oklch(93.6% 0.015 244.7)

  3. Step 200

    200

    #CADCEA

    oklch(88.5% 0.027 241.2)

  4. Step 300

    300

    #A4C5DF

    oklch(80.8% 0.051 242)

  5. Step 400

    400

    #72A7CF

    oklch(70.7% 0.081 241.9)

  6. Step 500

    500

    #4A91C3

    oklch(63.2% 0.104 241.7)

  7. Step 600

    600 (this color)

    #2A7CB1

    oklch(56.2% 0.113 241.6)

  8. Step 700

    700

    #196796

    oklch(49.2% 0.104 241.1)

  9. Step 800

    800

    #18547A

    oklch(42.7% 0.087 241.4)

  10. Step 900

    900

    #1C4662

    oklch(37.8% 0.067 240.9)

  11. Step 950

    950

    #112939

    oklch(27% 0.042 240.1)

Export this scale for Tailwind in the Tailwind colors tool

#2A7CB1 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)#637DB30.055
Deuteranopia (no green cones)#5170B00.044
Tritanopia (no blue cones)#00898F0.076
Achromatopsia (no color)#7676760.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7CB1

    #2A7CB1

    oklch(56.2% 0.113 241.6)

  • #A46423

    #A46423

    oklch(56.3% 0.113 61.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7CB1

    #2A7CB1

    oklch(56.2% 0.113 241.6)

  • #008496

    #008496

    oklch(56.3% 0.098 211.4)

  • #5E70B7

    #5E70B7

    oklch(56.3% 0.112 271.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A7CB1

    #2A7CB1

    oklch(56.2% 0.113 241.6)

  • #AD594A

    #AD594A

    oklch(56.1% 0.113 31.4)

  • #8D7208

    #8D7208

    oklch(56.2% 0.113 91.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7CB1

    #2A7CB1

    oklch(56.2% 0.113 241.6)

  • #AA5670

    #AA5670

    oklch(56.2% 0.113 1.7)

  • #6B7F2A

    #6B7F2A

    oklch(56.3% 0.113 121.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7CB1

    #2A7CB1

    oklch(56.2% 0.113 241.6)

  • #9B5B93

    #9B5B93

    oklch(56.3% 0.112 331.6)

  • #A46423

    #A46423

    oklch(56.3% 0.113 61.7)

  • #398853

    #398853

    oklch(56.3% 0.113 151.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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