#2A7095

Closest named color: Ocean Blue (#03719C). oklch(51.8% 0.09 235.5), rgb(42, 112, 149).

Aa

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

About this color

#2A7095 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.090 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.017 away. White text reads best on it, at 5.45:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.85:1
White text5.45:1

Values

HEX#2A7095
RGBrgb(42, 112, 149)
HSLhsl(201, 56%, 37%)
OKLCHoklch(51.8% 0.09 235.5)

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 #2A7095 5.45:1 AA Lc -82.3 Fine for body text
Black text on #2A7095 3.85:1 AA large text Lc 27.1 Dividers and decoration only
#2A7095 text on white 5.45:1 AA Lc 76.9 Fine for body text
#2A7095 text on black 3.85:1 AA large text Lc -24.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 700.

  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

    #2F7CA4

    oklch(55.7% 0.097 235.1)

  8. Step 700

    700 (this color)

    #2A7095

    oklch(51.8% 0.09 235.5)

  9. Step 800

    800

    #1E5572

    oklch(42.7% 0.074 235.5)

  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

#2A7095 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)#5E6F970.054
Deuteranopia (no green cones)#5065940.045
Tritanopia (no blue cones)#007A7D0.059
Achromatopsia (no color)#6969690.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7095

    #2A7095

    oklch(51.8% 0.09 235.5)

  • #905A32

    #905A32

    oklch(51.9% 0.09 55.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7095

    #2A7095

    oklch(51.8% 0.09 235.5)

  • #007781

    #007781

    oklch(51.9% 0.089 205.1)

  • #4F679D

    #4F679D

    oklch(51.9% 0.091 265.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A7095

    #2A7095

    oklch(51.8% 0.09 235.5)

  • #96534D

    #96534D

    oklch(52% 0.09 26)

  • #806421

    #806421

    oklch(51.8% 0.091 85.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7095

    #2A7095

    oklch(51.8% 0.09 235.5)

  • #91516A

    #91516A

    oklch(51.8% 0.091 355.9)

  • #666F2C

    #666F2C

    oklch(51.9% 0.091 116.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7095

    #2A7095

    oklch(51.8% 0.09 235.5)

  • #835585

    #835585

    oklch(51.8% 0.092 325.4)

  • #905A32

    #905A32

    oklch(51.9% 0.09 55.7)

  • #447648

    #447648

    oklch(51.8% 0.09 145.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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