#2F7CA4

Closest named color: Cerulean (#457B9D). oklch(55.7% 0.097 235.1), rgb(47, 124, 164).

Aa

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

About this color

#2F7CA4 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.097 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean (#457B9D), ΔE 0.019 away. White text reads best on it, at 4.62:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameCerulean (#457B9D)
Black text4.53:1
White text4.62:1

Values

HEX#2F7CA4
RGBrgb(47, 124, 164)
HSLhsl(201, 55%, 41%)
OKLCHoklch(55.7% 0.097 235.1)

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 #2F7CA4 4.62:1 AA Lc -77.3 Fine for body text
Black text on #2F7CA4 4.53:1 AA Lc 32.2 Non-text elements, placeholder text
#2F7CA4 text on white 4.62:1 AA Lc 71.8 Content text, not long reading
#2F7CA4 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

    #E2EBF1

    oklch(93.5% 0.013 236.6)

  3. Step 200

    200

    #CBDCE7

    oklch(88.5% 0.024 236)

  4. Step 300

    300

    #A6C6D9

    oklch(80.9% 0.044 234.1)

  5. Step 400

    400

    #75A8C6

    oklch(70.7% 0.07 234.9)

  6. Step 500

    500

    #4F92B8

    oklch(63.1% 0.089 235.4)

  7. Step 600

    600 (this color)

    #2F7CA4

    oklch(55.7% 0.097 235.1)

  8. Step 700

    700

    #20688C

    oklch(49% 0.09 235)

  9. Step 800

    800

    #1D5572

    oklch(42.7% 0.075 235.2)

  10. Step 900

    900

    #1F465C

    oklch(37.6% 0.058 235.9)

  11. Step 950

    950

    #132936

    oklch(26.9% 0.037 236.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F7CA4 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)#697BA60.059
Deuteranopia (no green cones)#5970A30.049
Tritanopia (no blue cones)#00868A0.061
Achromatopsia (no color)#7575750.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7CA4

    #2F7CA4

    oklch(55.7% 0.097 235.1)

  • #9F6338

    #9F6338

    oklch(55.7% 0.097 54.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7CA4

    #2F7CA4

    oklch(55.7% 0.097 235.1)

  • #00838E

    #00838E

    oklch(55.7% 0.095 205.2)

  • #5872AC

    #5872AC

    oklch(55.7% 0.096 265.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F7CA4

    #2F7CA4

    oklch(55.7% 0.097 235.1)

  • #A55C56

    #A55C56

    oklch(55.8% 0.097 25.6)

  • #8D6F26

    #8D6F26

    oklch(55.7% 0.097 85.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7CA4

    #2F7CA4

    oklch(55.7% 0.097 235.1)

  • #A05A76

    #A05A76

    oklch(55.7% 0.098 355.3)

  • #727A32

    #727A32

    oklch(55.7% 0.096 114.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7CA4

    #2F7CA4

    oklch(55.7% 0.097 235.1)

  • #905F93

    #905F93

    oklch(55.7% 0.097 324.8)

  • #9F6338

    #9F6338

    oklch(55.7% 0.097 54.8)

  • #4D824F

    #4D824F

    oklch(55.6% 0.096 145)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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