#157FB8

Closest named color: Nice Blue (#107AB0). oklch(56.9% 0.124 239.9), rgb(21, 127, 184).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.75:1
White text4.41:1

Values

HEX#157FB8
RGBrgb(21, 127, 184)
HSLhsl(201, 80%, 40%)
OKLCHoklch(56.9% 0.124 239.9)

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 #157FB8 4.41:1 AA large text Lc -75.6 Fine for body text
Black text on #157FB8 4.75:1 AA Lc 34.0 Non-text elements, placeholder text
#157FB8 text on white 4.41:1 AA large text Lc 70.1 Content text, not long reading
#157FB8 text on black 4.75:1 AA Lc -31.6 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

    #E1ECF4

    oklch(93.7% 0.016 239.1)

  3. Step 200

    200

    #C8DCEC

    oklch(88.4% 0.031 242)

  4. Step 300

    300

    #A1C6E1

    oklch(80.9% 0.055 240)

  5. Step 400

    400

    #6BA8D3

    oklch(70.7% 0.089 240.4)

  6. Step 500

    500

    #3D92C7

    oklch(63.1% 0.114 239.6)

  7. Step 600

    600 (this color)

    #157FB8

    oklch(56.9% 0.124 239.9)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #05557D

    oklch(42.8% 0.094 239.2)

  10. Step 900

    900

    #134665

    oklch(37.7% 0.075 240.2)

  11. Step 950

    950

    #0D293B

    oklch(26.9% 0.047 240.1)

Export this scale for Tailwind in the Tailwind colors tool

#157FB8 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)#6480BB0.064
Deuteranopia (no green cones)#4E72B70.049
Tritanopia (no blue cones)#008D930.081
Achromatopsia (no color)#7878780.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #157FB8

    #157FB8

    oklch(56.9% 0.124 239.9)

  • #AB6319

    #AB6319

    oklch(57% 0.124 60.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #157FB8

    #157FB8

    oklch(56.9% 0.124 239.9)

  • #008697

    #008697

    oklch(56.8% 0.098 210.3)

  • #5B72C0

    #5B72C0

    oklch(57% 0.123 269.8)

Open the analogous palette in the generator

Split complementary

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

  • #157FB8

    #157FB8

    oklch(56.9% 0.124 239.9)

  • #B4574A

    #B4574A

    oklch(56.8% 0.124 29.6)

  • #927300

    #927300

    oklch(57% 0.116 89.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #157FB8

    #157FB8

    oklch(56.9% 0.124 239.9)

  • #B05474

    #B05474

    oklch(56.8% 0.124 359.8)

  • #6E811B

    #6E811B

    oklch(56.9% 0.124 120)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #157FB8

    #157FB8

    oklch(56.9% 0.124 239.9)

  • #9F5A9A

    #9F5A9A

    oklch(57% 0.124 329.7)

  • #AB6319

    #AB6319

    oklch(57% 0.124 60.1)

  • #368B4E

    #368B4E

    oklch(56.9% 0.124 149.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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