#157CB8

Closest named color: Nice Blue (#107AB0). oklch(56.2% 0.126 241.8), rgb(21, 124, 184).

Aa

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

About this color

#157CB8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.126 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. Black text reads best on it, at 4.60:1.

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

Values

HEX#157CB8
RGBrgb(21, 124, 184)
HSLhsl(202, 80%, 40%)
OKLCHoklch(56.2% 0.126 241.8)

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 #157CB8 4.55:1 AA Lc -76.6 Fine for body text
Black text on #157CB8 4.60:1 AA Lc 32.9 Non-text elements, placeholder text
#157CB8 text on white 4.55:1 AA Lc 71.2 Content text, not long reading
#157CB8 text on black 4.60:1 AA Lc -30.5 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

    #6BA8D5

    oklch(70.8% 0.092 241.7)

  6. Step 500

    500

    #3F91C9

    oklch(63.1% 0.116 241.8)

  7. Step 600

    600 (this color)

    #157CB8

    oklch(56.2% 0.126 241.8)

  8. Step 700

    700

    #00679C

    oklch(49.2% 0.116 241.5)

  9. Step 800

    800

    #08547F

    oklch(42.7% 0.097 241.7)

  10. Step 900

    900

    #144666

    oklch(37.8% 0.075 241.4)

  11. Step 950

    950

    #0E293C

    oklch(27% 0.048 242.2)

Export this scale for Tailwind in the Tailwind colors tool

#157CB8 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)#5F7EBB0.060
Deuteranopia (no green cones)#496FB70.046
Tritanopia (no blue cones)#008B910.086
Achromatopsia (no color)#7676760.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #157CB8

    #157CB8

    oklch(56.2% 0.126 241.8)

  • #A8610A

    #A8610A

    oklch(56.1% 0.126 62.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #157CB8

    #157CB8

    oklch(56.2% 0.126 241.8)

  • #008496

    #008496

    oklch(56.3% 0.098 211.4)

  • #5B6EBF

    #5B6EBF

    oklch(56.1% 0.127 271.8)

Open the analogous palette in the generator

Split complementary

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

  • #157CB8

    #157CB8

    oklch(56.2% 0.126 241.8)

  • #B35544

    #B35544

    oklch(56.2% 0.126 31.8)

  • #8D7200

    #8D7200

    oklch(56.2% 0.115 92.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #157CB8

    #157CB8

    oklch(56.2% 0.126 241.8)

  • #AF516F

    #AF516F

    oklch(56.1% 0.126 1.9)

  • #698018

    #698018

    oklch(56.2% 0.127 121.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #157CB8

    #157CB8

    oklch(56.2% 0.126 241.8)

  • #9F5696

    #9F5696

    oklch(56.2% 0.127 331.8)

  • #A8610A

    #A8610A

    oklch(56.1% 0.126 62.1)

  • #2C894E

    #2C894E

    oklch(56.1% 0.126 151.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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