#2A7FCB

Closest named color: Water Blue (#0E87CC). oklch(58.4% 0.141 249.7), rgb(42, 127, 203).

Aa

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

About this color

#2A7FCB is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.141 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.022 away. Black text reads best on it, at 4.99:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.141)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text4.99:1
White text4.20:1

Values

HEX#2A7FCB
RGBrgb(42, 127, 203)
HSLhsl(208, 66%, 48%)
OKLCHoklch(58.4% 0.141 249.7)

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 #2A7FCB 4.20:1 AA large text Lc -74.1 Content text, not long reading
Black text on #2A7FCB 4.99:1 AA Lc 35.5 Non-text elements, placeholder text
#2A7FCB text on white 4.20:1 AA large text Lc 68.6 Content text, not long reading
#2A7FCB text on black 4.99:1 AA Lc -33.1 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

    #A2C5E9

    oklch(81% 0.063 249.3)

  5. Step 400

    400

    #6EA5DE

    oklch(70.7% 0.102 250.3)

  6. Step 500

    500

    #448ED4

    oklch(63.2% 0.129 249.5)

  7. Step 600

    600 (this color)

    #2A7FCB

    oklch(58.4% 0.141 249.7)

  8. Step 700

    700

    #0F63A7

    oklch(49.1% 0.131 249.7)

  9. Step 800

    800

    #125187

    oklch(42.6% 0.108 249.7)

  10. Step 900

    900

    #18446C

    oklch(37.8% 0.084 249.3)

  11. Step 950

    950

    #0F283F

    oklch(27% 0.053 248.7)

Export this scale for Tailwind in the Tailwind colors tool

#2A7FCB 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)#5B83CE0.045
Deuteranopia (no green cones)#4275CA0.029
Tritanopia (no blue cones)#00919B0.103
Achromatopsia (no color)#7C7C7C0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7FCB

    #2A7FCB

    oklch(58.4% 0.141 249.7)

  • #AB6C00

    #AB6C00

    oklch(58.5% 0.127 69.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7FCB

    #2A7FCB

    oklch(58.4% 0.141 249.7)

  • #0089A7

    #0089A7

    oklch(58.3% 0.107 220.5)

  • #6C6FCD

    #6C6FCD

    oklch(58.4% 0.142 279.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A7FCB

    #2A7FCB

    oklch(58.4% 0.141 249.7)

  • #BF5934

    #BF5934

    oklch(58.4% 0.141 39.9)

  • #8D7C00

    #8D7C00

    oklch(58.4% 0.121 99.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7FCB

    #2A7FCB

    oklch(58.4% 0.141 249.7)

  • #BF5269

    #BF5269

    oklch(58.4% 0.141 9.5)

  • #5F8B21

    #5F8B21

    oklch(58.4% 0.141 129.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7FCB

    #2A7FCB

    oklch(58.4% 0.141 249.7)

  • #B05696

    #B05696

    oklch(58.4% 0.141 339.5)

  • #AB6C00

    #AB6C00

    oklch(58.5% 0.127 69.8)

  • #00935F

    #00935F

    oklch(58.5% 0.133 159.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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