#157FA8

Closest named color: Nice Blue (#107AB0). oklch(56% 0.108 231.1), rgb(21, 127, 168).

Aa

Black text reads best on this color (4.63:1).

About this color

#157FA8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.108 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.022 away. Black text reads best on it, at 4.63:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.63:1
White text4.53:1

Values

HEX#157FA8
RGBrgb(21, 127, 168)
HSLhsl(197, 78%, 37%)
OKLCHoklch(56% 0.108 231.1)

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 #157FA8 4.53:1 AA Lc -76.5 Fine for body text
Black text on #157FA8 4.63:1 AA Lc 33.1 Non-text elements, placeholder text
#157FA8 text on white 4.53:1 AA Lc 71.0 Content text, not long reading
#157FA8 text on black 4.63:1 AA Lc -30.7 Non-text elements, placeholder text

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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C8DDE8

    oklch(88.5% 0.027 230.4)

  4. Step 300

    300

    #A2C7DB

    oklch(80.9% 0.049 231.7)

  5. Step 400

    400

    #6CAAC8

    oklch(70.7% 0.078 230.2)

  6. Step 500

    500

    #4094BA

    oklch(63.1% 0.099 230.8)

  7. Step 600

    600 (this color)

    #157FA8

    oklch(56% 0.108 231.1)

  8. Step 700

    700

    #006A8E

    oklch(49.1% 0.099 230.6)

  9. Step 800

    800

    #095674

    oklch(42.6% 0.083 231.7)

  10. Step 900

    900

    #15475E

    oklch(37.6% 0.065 232.4)

  11. Step 950

    950

    #0E2A37

    oklch(27% 0.041 231.2)

Export this scale for Tailwind in the Tailwind colors tool

#157FA8 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)#6A7DAA0.072
Deuteranopia (no green cones)#5770A70.061
Tritanopia (no blue cones)#008A8D0.062
Achromatopsia (no color)#7676760.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #157FA8

    #157FA8

    oklch(56% 0.108 231.1)

  • #A66035

    #A66035

    oklch(56% 0.108 50.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #157FA8

    #157FA8

    oklch(56% 0.108 231.1)

  • #00858C

    #00858C

    oklch(56.1% 0.095 201.3)

  • #5074B4

    #5074B4

    oklch(56.1% 0.108 261.3)

Open the analogous palette in the generator

Split complementary

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

  • #157FA8

    #157FA8

    oklch(56% 0.108 231.1)

  • #AB5959

    #AB5959

    oklch(56.2% 0.107 21.1)

  • #956D18

    #956D18

    oklch(56.1% 0.108 80.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #157FA8

    #157FA8

    oklch(56% 0.108 231.1)

  • #A3587C

    #A3587C

    oklch(55.9% 0.108 351)

  • #787A23

    #787A23

    oklch(56.1% 0.107 110.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #157FA8

    #157FA8

    oklch(56% 0.108 231.1)

  • #915E9B

    #915E9B

    oklch(56% 0.108 320.9)

  • #A66035

    #A66035

    oklch(56% 0.108 50.6)

  • #4F8446

    #4F8446

    oklch(56% 0.108 140.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #157FA8 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.