#2F789D

Closest named color: Cerulean (#457B9D). oklch(54.4% 0.092 234.2), rgb(47, 120, 157).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameCerulean (#457B9D)
Black text4.29:1
White text4.89:1

Values

HEX#2F789D
RGBrgb(47, 120, 157)
HSLhsl(200, 54%, 40%)
OKLCHoklch(54.4% 0.092 234.2)

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 #2F789D 4.89:1 AA Lc -79.0 Fine for body text
Black text on #2F789D 4.29:1 AA large text Lc 30.5 Non-text elements, placeholder text
#2F789D text on white 4.89:1 AA Lc 73.6 Content text, not long reading
#2F789D text on black 4.29:1 AA large text Lc -28.1 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

    #E3EBF1

    oklch(93.6% 0.012 239.9)

  3. Step 200

    200

    #CBDCE6

    oklch(88.5% 0.023 233.4)

  4. Step 300

    300

    #A7C6D8

    oklch(81% 0.042 233.5)

  5. Step 400

    400

    #77A8C4

    oklch(70.7% 0.066 234)

  6. Step 500

    500

    #5292B5

    oklch(63.1% 0.084 234.2)

  7. Step 600

    600 (this color)

    #2F789D

    oklch(54.4% 0.092 234.2)

  8. Step 700

    700

    #25688A

    oklch(49.1% 0.086 234.7)

  9. Step 800

    800

    #215570

    oklch(42.7% 0.071 234.6)

  10. Step 900

    900

    #21465A

    oklch(37.6% 0.054 234.4)

  11. Step 950

    950

    #142935

    oklch(26.9% 0.035 235.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F789D 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)#66779F0.058
Deuteranopia (no green cones)#576C9C0.049
Tritanopia (no blue cones)#0082840.060
Achromatopsia (no color)#7171710.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F789D

    #2F789D

    oklch(54.4% 0.092 234.2)

  • #996039

    #996039

    oklch(54.4% 0.092 53.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F789D

    #2F789D

    oklch(54.4% 0.092 234.2)

  • #057F88

    #057F88

    oklch(54.4% 0.092 203.6)

  • #546EA5

    #546EA5

    oklch(54.2% 0.092 264.3)

Open the analogous palette in the generator

Split complementary

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

  • #2F789D

    #2F789D

    oklch(54.4% 0.092 234.2)

  • #9E5955

    #9E5955

    oklch(54.3% 0.092 24)

  • #896B28

    #896B28

    oklch(54.4% 0.092 84.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F789D

    #2F789D

    oklch(54.4% 0.092 234.2)

  • #995873

    #995873

    oklch(54.3% 0.092 354.2)

  • #6F7632

    #6F7632

    oklch(54.5% 0.092 114.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F789D

    #2F789D

    oklch(54.4% 0.092 234.2)

  • #8A5D8E

    #8A5D8E

    oklch(54.4% 0.091 323.9)

  • #996039

    #996039

    oklch(54.4% 0.092 53.9)

  • #4D7E4D

    #4D7E4D

    oklch(54.5% 0.092 144.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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