#1B7EBA

Closest named color: Nice Blue (#107AB0). oklch(56.9% 0.126 242), rgb(27, 126, 186).

Aa

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

About this color

#1B7EBA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, 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.019 away. Black text reads best on it, at 4.73:1.

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

Values

HEX#1B7EBA
RGBrgb(27, 126, 186)
HSLhsl(203, 75%, 42%)
OKLCHoklch(56.9% 0.126 242)

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 #1B7EBA 4.43:1 AA large text Lc -75.7 Fine for body text
Black text on #1B7EBA 4.73:1 AA Lc 33.8 Non-text elements, placeholder text
#1B7EBA text on white 4.43:1 AA large text Lc 70.3 Content text, not long reading
#1B7EBA text on black 4.73:1 AA Lc -31.4 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

    #6CA8D4

    oklch(70.8% 0.09 241.4)

  6. Step 500

    500

    #4091C9

    oklch(63.1% 0.115 242)

  7. Step 600

    600 (this color)

    #1B7EBA

    oklch(56.9% 0.126 242)

  8. Step 700

    700

    #00679C

    oklch(49.2% 0.116 241.5)

  9. Step 800

    800

    #0A547F

    oklch(42.7% 0.097 242)

  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

#1B7EBA 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)#617FBD0.058
Deuteranopia (no green cones)#4C71B90.046
Tritanopia (no blue cones)#008D930.086
Achromatopsia (no color)#7878780.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B7EBA

    #1B7EBA

    oklch(56.9% 0.126 242)

  • #AA6310

    #AA6310

    oklch(56.8% 0.125 62)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B7EBA

    #1B7EBA

    oklch(56.9% 0.126 242)

  • #008699

    #008699

    oklch(56.9% 0.099 212)

  • #5E70C1

    #5E70C1

    oklch(56.9% 0.127 272.4)

Open the analogous palette in the generator

Split complementary

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

  • #1B7EBA

    #1B7EBA

    oklch(56.9% 0.126 242)

  • #B55746

    #B55746

    oklch(56.9% 0.126 31.8)

  • #907400

    #907400

    oklch(57% 0.116 91.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B7EBA

    #1B7EBA

    oklch(56.9% 0.126 242)

  • #B15471

    #B15471

    oklch(56.9% 0.125 2.1)

  • #6B821D

    #6B821D

    oklch(56.9% 0.126 122)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B7EBA

    #1B7EBA

    oklch(56.9% 0.126 242)

  • #A15998

    #A15998

    oklch(57% 0.125 331.8)

  • #AA6310

    #AA6310

    oklch(56.8% 0.125 62)

  • #2E8B50

    #2E8B50

    oklch(56.7% 0.126 152)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1B7EBA 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.