#2F789B

Closest named color: Cerulean (#457B9D). oklch(54.3% 0.09 232.7), rgb(47, 120, 155).

Aa

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

About this color

#2F789B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.090 and its hue 233°. 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.90:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameCerulean (#457B9D)
Black text4.28:1
White text4.90:1

Values

HEX#2F789B
RGBrgb(47, 120, 155)
HSLhsl(199, 53%, 40%)
OKLCHoklch(54.3% 0.09 232.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 #2F789B 4.90:1 AA Lc -79.1 Fine for body text
Black text on #2F789B 4.28:1 AA large text Lc 30.4 Non-text elements, placeholder text
#2F789B text on white 4.90:1 AA Lc 73.7 Content text, not long reading
#2F789B text on black 4.28:1 AA large text Lc -28.0 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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CBDCE6

    oklch(88.5% 0.023 233.4)

  4. Step 300

    300

    #A8C6D7

    oklch(81% 0.04 232.8)

  5. Step 400

    400

    #78A8C3

    oklch(70.7% 0.065 233.5)

  6. Step 500

    500

    #5292B3

    oklch(63% 0.082 232.6)

  7. Step 600

    600 (this color)

    #2F789B

    oklch(54.3% 0.09 232.7)

  8. Step 700

    700

    #256888

    oklch(49% 0.084 233)

  9. Step 800

    800

    #21556F

    oklch(42.7% 0.07 233.5)

  10. Step 900

    900

    #21465A

    oklch(37.6% 0.054 234.4)

  11. Step 950

    950

    #142934

    oklch(26.9% 0.034 232.8)

Export this scale for Tailwind in the Tailwind colors tool

#2F789B 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)#67779D0.059
Deuteranopia (no green cones)#586C9A0.050
Tritanopia (no blue cones)#0081840.055
Achromatopsia (no color)#7171710.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F789B

    #2F789B

    oklch(54.3% 0.09 232.7)

  • #98603B

    #98603B

    oklch(54.3% 0.09 53.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F789B

    #2F789B

    oklch(54.3% 0.09 232.7)

  • #0D7E86

    #0D7E86

    oklch(54.1% 0.09 202.9)

  • #536FA4

    #536FA4

    oklch(54.3% 0.09 262.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F789B

    #2F789B

    oklch(54.3% 0.09 232.7)

  • #9D5957

    #9D5957

    oklch(54.2% 0.09 22.3)

  • #896A2A

    #896A2A

    oklch(54.2% 0.09 82.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F789B

    #2F789B

    oklch(54.3% 0.09 232.7)

  • #985974

    #985974

    oklch(54.4% 0.09 353.3)

  • #707532

    #707532

    oklch(54.3% 0.09 112.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F789B

    #2F789B

    oklch(54.3% 0.09 232.7)

  • #885D8E

    #885D8E

    oklch(54.2% 0.09 322.4)

  • #98603B

    #98603B

    oklch(54.3% 0.09 53.2)

  • #4F7D4C

    #4F7D4C

    oklch(54.3% 0.09 142.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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