#165F7C

Closest named color: Petrol (#005F6A). oklch(45.6% 0.082 230), rgb(22, 95, 124).

Aa

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

About this color

#165F7C is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.082 and its hue 230°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.033 away. White text reads best on it, at 7.08:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.96:1
White text7.08:1

Values

HEX#165F7C
RGBrgb(22, 95, 124)
HSLhsl(197, 70%, 29%)
OKLCHoklch(45.6% 0.082 230)

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 #165F7C 7.08:1 AAA Lc -89.2 Fine for body text
Black text on #165F7C 2.96:1 Fails Lc 19.8 Dividers and decoration only
#165F7C text on white 7.08:1 AAA Lc 84.2 Fine for body text
#165F7C text on black 2.96:1 Fails Lc -17.7 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 800.

  1. Step 50

    50

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C8DDE8

    oklch(88.5% 0.027 230.4)

  4. Step 300

    300

    #A2C7DA

    oklch(80.9% 0.048 230.4)

  5. Step 400

    400

    #6CAAC8

    oklch(70.7% 0.078 230.2)

  6. Step 500

    500

    #3F94BA

    oklch(63.1% 0.099 230.6)

  7. Step 600

    600

    #107EA6

    oklch(55.6% 0.107 230.2)

  8. Step 700

    700

    #006A8D

    oklch(49.1% 0.098 229.8)

  9. Step 800

    800 (this color)

    #165F7C

    oklch(45.6% 0.082 230)

  10. Step 900

    900

    #14485D

    oklch(37.8% 0.064 229.2)

  11. Step 950

    950

    #0E2A36

    oklch(27% 0.04 229.1)

Export this scale for Tailwind in the Tailwind colors tool

#165F7C 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)#505E7D0.056
Deuteranopia (no green cones)#43547C0.049
Tritanopia (no blue cones)#0067690.047
Achromatopsia (no color)#5858580.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #165F7C

    #165F7C

    oklch(45.6% 0.082 230)

  • #7B482A

    #7B482A

    oklch(45.5% 0.082 50)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #165F7C

    #165F7C

    oklch(45.6% 0.082 230)

  • #006468

    #006468

    oklch(45.7% 0.078 199.6)

  • #3B5785

    #3B5785

    oklch(45.6% 0.083 259.9)

Open the analogous palette in the generator

Split complementary

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

  • #165F7C

    #165F7C

    oklch(45.6% 0.082 230)

  • #7F4344

    #7F4344

    oklch(45.7% 0.083 19.8)

  • #6F5118

    #6F5118

    oklch(45.6% 0.082 79.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #165F7C

    #165F7C

    oklch(45.6% 0.082 230)

  • #79435D

    #79435D

    oklch(45.7% 0.082 350.6)

  • #5A5B1D

    #5A5B1D

    oklch(45.7% 0.083 110.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #165F7C

    #165F7C

    oklch(45.6% 0.082 230)

  • #6B4774

    #6B4774

    oklch(45.6% 0.083 319.4)

  • #7B482A

    #7B482A

    oklch(45.5% 0.082 50)

  • #3D6235

    #3D6235

    oklch(45.6% 0.082 140.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #165F7C 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.