#157BB8

Closest named color: Nice Blue (#107AB0). oklch(55.9% 0.127 242.5), rgb(21, 123, 184).

Aa

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

About this color

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

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

Values

HEX#157BB8
RGBrgb(21, 123, 184)
HSLhsl(202, 80%, 40%)
OKLCHoklch(55.9% 0.127 242.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 #157BB8 4.60:1 AA Lc -77.0 Fine for body text
Black text on #157BB8 4.55:1 AA Lc 32.6 Non-text elements, placeholder text
#157BB8 text on white 4.60:1 AA Lc 71.5 Content text, not long reading
#157BB8 text on black 4.55:1 AA Lc -30.2 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF4

    oklch(93.5% 0.016 245.1)

  3. Step 200

    200

    #C8DCED

    oklch(88.5% 0.032 243.7)

  4. Step 300

    300

    #A1C6E3

    oklch(80.9% 0.057 242)

  5. Step 400

    400

    #6CA8D5

    oklch(70.8% 0.091 242.1)

  6. Step 500

    500

    #3F91CA

    oklch(63.1% 0.117 242.3)

  7. Step 600

    600 (this color)

    #157BB8

    oklch(55.9% 0.127 242.5)

  8. Step 700

    700

    #00669D

    oklch(49% 0.118 242.7)

  9. Step 800

    800

    #095480

    oklch(42.8% 0.098 242.4)

  10. Step 900

    900

    #144667

    oklch(37.8% 0.077 242.2)

  11. Step 950

    950

    #0E293C

    oklch(27% 0.048 242.2)

Export this scale for Tailwind in the Tailwind colors tool

#157BB8 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)#5E7DBB0.059
Deuteranopia (no green cones)#486FB70.044
Tritanopia (no blue cones)#008A910.086
Achromatopsia (no color)#7575750.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #157BB8

    #157BB8

    oklch(55.9% 0.127 242.5)

  • #A86003

    #A86003

    oklch(55.9% 0.128 62.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #157BB8

    #157BB8

    oklch(55.9% 0.127 242.5)

  • #008396

    #008396

    oklch(56% 0.098 212.4)

  • #5C6DBE

    #5C6DBE

    oklch(55.9% 0.127 272.7)

Open the analogous palette in the generator

Split complementary

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

  • #157BB8

    #157BB8

    oklch(55.9% 0.127 242.5)

  • #B25442

    #B25442

    oklch(55.9% 0.127 32.4)

  • #8C7100

    #8C7100

    oklch(55.9% 0.114 92.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #157BB8

    #157BB8

    oklch(55.9% 0.127 242.5)

  • #AF506E

    #AF506E

    oklch(55.9% 0.128 2.2)

  • #677F17

    #677F17

    oklch(55.8% 0.127 122.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #157BB8

    #157BB8

    oklch(55.9% 0.127 242.5)

  • #9F5595

    #9F5595

    oklch(56% 0.128 332.3)

  • #A86003

    #A86003

    oklch(55.9% 0.128 62.1)

  • #28894E

    #28894E

    oklch(56% 0.127 152.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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