#2F7998

Closest named color: Cerulean (#457B9D). oklch(54.4% 0.087 229.2), rgb(47, 121, 152).

Aa

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

About this color

#2F7998 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 54%, its chroma 0.087 and its hue 229°. 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.87:1.

Hue familyTeals and cyans
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameCerulean (#457B9D)
Black text4.30:1
White text4.87:1

Values

HEX#2F7998
RGBrgb(47, 121, 152)
HSLhsl(198, 53%, 39%)
OKLCHoklch(54.4% 0.087 229.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 #2F7998 4.87:1 AA Lc -78.9 Fine for body text
Black text on #2F7998 4.30:1 AA large text Lc 30.6 Non-text elements, placeholder text
#2F7998 text on white 4.87:1 AA Lc 73.5 Content text, not long reading
#2F7998 text on black 4.30:1 AA large text Lc -28.2 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

    #CBDCE5

    oklch(88.4% 0.022 230.6)

  4. Step 300

    300

    #A8C6D5

    oklch(80.9% 0.039 229.5)

  5. Step 400

    400

    #78A9C0

    oklch(70.8% 0.062 228.8)

  6. Step 500

    500

    #5293B0

    oklch(63.1% 0.08 228.8)

  7. Step 600

    600 (this color)

    #2F7998

    oklch(54.4% 0.087 229.2)

  8. Step 700

    700

    #256985

    oklch(49.1% 0.08 229.2)

  9. Step 800

    800

    #21566C

    oklch(42.8% 0.066 228.7)

  10. Step 900

    900

    #214758

    oklch(37.8% 0.052 229.5)

  11. Step 950

    950

    #142A33

    oklch(27.1% 0.033 226.5)

Export this scale for Tailwind in the Tailwind colors tool

#2F7998 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)#69779A0.061
Deuteranopia (no green cones)#5A6C980.054
Tritanopia (no blue cones)#0082830.053
Achromatopsia (no color)#7171710.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7998

    #2F7998

    oklch(54.4% 0.087 229.2)

  • #986041

    #986041

    oklch(54.4% 0.086 49.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7998

    #2F7998

    oklch(54.4% 0.087 229.2)

  • #197F83

    #197F83

    oklch(54.4% 0.087 199)

  • #5170A2

    #5170A2

    oklch(54.3% 0.087 259.7)

Open the analogous palette in the generator

Split complementary

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

  • #2F7998

    #2F7998

    oklch(54.4% 0.087 229.2)

  • #9C5A5B

    #9C5A5B

    oklch(54.3% 0.087 19.3)

  • #8B692F

    #8B692F

    oklch(54.3% 0.087 78.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7998

    #2F7998

    oklch(54.4% 0.087 229.2)

  • #955A77

    #955A77

    oklch(54.3% 0.086 349.5)

  • #737433

    #737433

    oklch(54.4% 0.087 109.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7998

    #2F7998

    oklch(54.4% 0.087 229.2)

  • #865F90

    #865F90

    oklch(54.4% 0.087 319.3)

  • #986041

    #986041

    oklch(54.4% 0.086 49.2)

  • #557C4A

    #557C4A

    oklch(54.4% 0.087 139)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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