#2A7BAD

Closest named color: Nice Blue (#107AB0). oklch(55.8% 0.109 240.3), rgb(42, 123, 173).

Aa

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

About this color

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

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

Values

HEX#2A7BAD
RGBrgb(42, 123, 173)
HSLhsl(203, 61%, 42%)
OKLCHoklch(55.8% 0.109 240.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 #2A7BAD 4.63:1 AA Lc -77.3 Fine for body text
Black text on #2A7BAD 4.53:1 AA Lc 32.3 Non-text elements, placeholder text
#2A7BAD text on white 4.63:1 AA Lc 71.8 Content text, not long reading
#2A7BAD text on black 4.53:1 AA Lc -29.8 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  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

    #A5C5DE

    oklch(80.8% 0.049 241.8)

  5. Step 400

    400

    #73A7CD

    oklch(70.6% 0.078 241)

  6. Step 500

    500

    #4B91C0

    oklch(63.1% 0.1 240.3)

  7. Step 600

    600 (this color)

    #2A7BAD

    oklch(55.8% 0.109 240.3)

  8. Step 700

    700

    #1B6794

    oklch(49.1% 0.101 240.3)

  9. Step 800

    800

    #1A5478

    oklch(42.7% 0.084 240.5)

  10. Step 900

    900

    #1C4661

    oklch(37.8% 0.066 240)

  11. Step 950

    950

    #122939

    oklch(27% 0.042 241)

Export this scale for Tailwind in the Tailwind colors tool

#2A7BAD 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)#647CAF0.057
Deuteranopia (no green cones)#526FAC0.045
Tritanopia (no blue cones)#00878C0.073
Achromatopsia (no color)#7575750.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7BAD

    #2A7BAD

    oklch(55.8% 0.109 240.3)

  • #A16328

    #A16328

    oklch(55.8% 0.108 60.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7BAD

    #2A7BAD

    oklch(55.8% 0.109 240.3)

  • #008393

    #008393

    oklch(55.9% 0.097 209.7)

  • #5B6FB4

    #5B6FB4

    oklch(55.7% 0.11 270.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A7BAD

    #2A7BAD

    oklch(55.8% 0.109 240.3)

  • #AA594C

    #AA594C

    oklch(55.7% 0.109 30.4)

  • #8C7011

    #8C7011

    oklch(55.7% 0.109 90.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7BAD

    #2A7BAD

    oklch(55.8% 0.109 240.3)

  • #A75671

    #A75671

    oklch(55.8% 0.11 0.1)

  • #6B7D2B

    #6B7D2B

    oklch(55.8% 0.109 120.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7BAD

    #2A7BAD

    oklch(55.8% 0.109 240.3)

  • #975B92

    #975B92

    oklch(55.8% 0.108 329.9)

  • #A16328

    #A16328

    oklch(55.8% 0.108 60.7)

  • #3D8551

    #3D8551

    oklch(55.6% 0.108 150.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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