#157BB7

Closest named color: Nice Blue (#107AB0). oklch(55.9% 0.126 242.1), rgb(21, 123, 183).

Aa

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

About this color

#157BB7 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.011 away. White text reads best on it, at 4.61:1.

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

Values

HEX#157BB7
RGBrgb(21, 123, 183)
HSLhsl(202, 79%, 40%)
OKLCHoklch(55.9% 0.126 242.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 #157BB7 4.61:1 AA Lc -77.0 Fine for body text
Black text on #157BB7 4.54:1 AA Lc 32.5 Non-text elements, placeholder text
#157BB7 text on white 4.61:1 AA Lc 71.6 Content text, not long reading
#157BB7 text on black 4.54:1 AA Lc -30.1 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

    #3F91C9

    oklch(63.1% 0.116 241.8)

  7. Step 600

    600 (this color)

    #157BB7

    oklch(55.9% 0.126 242.1)

  8. Step 700

    700

    #00679D

    oklch(49.2% 0.117 242)

  9. Step 800

    800

    #09547F

    oklch(42.7% 0.097 241.8)

  10. Step 900

    900

    #154666

    oklch(37.8% 0.075 241.7)

  11. Step 950

    950

    #0E293C

    oklch(27% 0.048 242.2)

Export this scale for Tailwind in the Tailwind colors tool

#157BB7 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)#5E7DBA0.059
Deuteranopia (no green cones)#486FB60.044
Tritanopia (no blue cones)#008A900.086
Achromatopsia (no color)#7575750.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #157BB7

    #157BB7

    oklch(55.9% 0.126 242.1)

  • #A76008

    #A76008

    oklch(55.8% 0.126 62)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #157BB7

    #157BB7

    oklch(55.9% 0.126 242.1)

  • #008395

    #008395

    oklch(56% 0.097 211.5)

  • #5B6DBD

    #5B6DBD

    oklch(55.8% 0.126 272.2)

Open the analogous palette in the generator

Split complementary

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

  • #157BB7

    #157BB7

    oklch(55.9% 0.126 242.1)

  • #B25443

    #B25443

    oklch(55.9% 0.126 31.8)

  • #8C7100

    #8C7100

    oklch(55.9% 0.114 92.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #157BB7

    #157BB7

    oklch(55.9% 0.126 242.1)

  • #AE506E

    #AE506E

    oklch(55.8% 0.126 1.9)

  • #687F18

    #687F18

    oklch(55.9% 0.126 122)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #157BB7

    #157BB7

    oklch(55.9% 0.126 242.1)

  • #9E5695

    #9E5695

    oklch(56% 0.126 331.9)

  • #A76008

    #A76008

    oklch(55.8% 0.126 62)

  • #2A894E

    #2A894E

    oklch(56% 0.126 152.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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