#2A799B

Closest named color: Ocean (#017B92). oklch(54.4% 0.092 230.6), rgb(42, 121, 155).

Aa

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

About this color

#2A799B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.092 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean (#017B92), ΔE 0.023 away. White text reads best on it, at 4.87:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameOcean (#017B92)
Black text4.30:1
White text4.87:1

Values

HEX#2A799B
RGBrgb(42, 121, 155)
HSLhsl(198, 57%, 39%)
OKLCHoklch(54.4% 0.092 230.6)

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 #2A799B 4.87:1 AA Lc -78.9 Fine for body text
Black text on #2A799B 4.30:1 AA large text Lc 30.6 Non-text elements, placeholder text
#2A799B text on white 4.87:1 AA Lc 73.5 Content text, not long reading
#2A799B 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

    #E2EBF0

    oklch(93.5% 0.012 231.7)

  3. Step 200

    200

    #CBDCE6

    oklch(88.5% 0.023 233.4)

  4. Step 300

    300

    #A6C6D7

    oklch(80.9% 0.042 231.1)

  5. Step 400

    400

    #75A9C2

    oklch(70.7% 0.066 229.5)

  6. Step 500

    500

    #4F93B3

    oklch(63.1% 0.084 230.5)

  7. Step 600

    600 (this color)

    #2A799B

    oklch(54.4% 0.092 230.6)

  8. Step 700

    700

    #206988

    oklch(49.1% 0.085 230.7)

  9. Step 800

    800

    #1D566E

    oklch(42.7% 0.07 229.7)

  10. Step 900

    900

    #1F4759

    oklch(37.7% 0.054 229.9)

  11. Step 950

    950

    #132A34

    oklch(27.1% 0.034 228.3)

Export this scale for Tailwind in the Tailwind colors tool

#2A799B 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)#68779D0.063
Deuteranopia (no green cones)#586C9B0.054
Tritanopia (no blue cones)#0082840.054
Achromatopsia (no color)#7171710.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A799B

    #2A799B

    oklch(54.4% 0.092 230.6)

  • #9A5F3C

    #9A5F3C

    oklch(54.3% 0.092 50.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A799B

    #2A799B

    oklch(54.4% 0.092 230.6)

  • #047F85

    #047F85

    oklch(54.3% 0.092 200.7)

  • #5070A5

    #5070A5

    oklch(54.4% 0.091 260.1)

Open the analogous palette in the generator

Split complementary

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

  • #2A799B

    #2A799B

    oklch(54.4% 0.092 230.6)

  • #9E5959

    #9E5959

    oklch(54.4% 0.091 20.5)

  • #8B6929

    #8B6929

    oklch(54.3% 0.092 80.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A799B

    #2A799B

    oklch(54.4% 0.092 230.6)

  • #985877

    #985877

    oklch(54.3% 0.093 350.2)

  • #72742F

    #72742F

    oklch(54.2% 0.092 110.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A799B

    #2A799B

    oklch(54.4% 0.092 230.6)

  • #885D90

    #885D90

    oklch(54.3% 0.092 321.1)

  • #9A5F3C

    #9A5F3C

    oklch(54.3% 0.092 50.5)

  • #517D49

    #517D49

    oklch(54.4% 0.092 140.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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