#1277B2

Closest named color: Nice Blue (#107AB0). oklch(54.6% 0.124 242.2), rgb(18, 119, 178).

Aa

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

About this color

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

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

Values

HEX#1277B2
RGBrgb(18, 119, 178)
HSLhsl(202, 82%, 38%)
OKLCHoklch(54.6% 0.124 242.2)

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 #1277B2 4.87:1 AA Lc -78.7 Fine for body text
Black text on #1277B2 4.30:1 AA large text Lc 30.8 Non-text elements, placeholder text
#1277B2 text on white 4.87:1 AA Lc 73.3 Content text, not long reading
#1277B2 text on black 4.30:1 AA large text Lc -28.4 Dividers and decoration only

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

    #C8DCEC

    oklch(88.4% 0.031 242)

  4. Step 300

    300

    #A2C6E2

    oklch(81% 0.055 241.8)

  5. Step 400

    400

    #6DA8D4

    oklch(70.8% 0.089 241.8)

  6. Step 500

    500

    #4191C9

    oklch(63.2% 0.115 242.3)

  7. Step 600

    600 (this color)

    #1277B2

    oklch(54.6% 0.124 242.2)

  8. Step 700

    700

    #04679C

    oklch(49.2% 0.115 241.9)

  9. Step 800

    800

    #0D547F

    oklch(42.8% 0.096 242.4)

  10. Step 900

    900

    #164666

    oklch(37.8% 0.075 242)

  11. Step 950

    950

    #0F293B

    oklch(27% 0.046 241.6)

Export this scale for Tailwind in the Tailwind colors tool

#1277B2 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)#5B79B50.058
Deuteranopia (no green cones)#456BB10.043
Tritanopia (no blue cones)#00868C0.085
Achromatopsia (no color)#7171710.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #1277B2

    #1277B2

    oklch(54.6% 0.124 242.2)

  • #A25D03

    #A25D03

    oklch(54.6% 0.124 62.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1277B2

    #1277B2

    oklch(54.6% 0.124 242.2)

  • #007E91

    #007E91

    oklch(54.5% 0.095 213)

  • #5869B8

    #5869B8

    oklch(54.5% 0.125 272.5)

Open the analogous palette in the generator

Split complementary

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

  • #1277B2

    #1277B2

    oklch(54.6% 0.124 242.2)

  • #AD5140

    #AD5140

    oklch(54.7% 0.124 32.1)

  • #886D00

    #886D00

    oklch(54.5% 0.112 91.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1277B2

    #1277B2

    oklch(54.6% 0.124 242.2)

  • #A94D6A

    #A94D6A

    oklch(54.5% 0.124 2.2)

  • #647B15

    #647B15

    oklch(54.6% 0.124 122.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1277B2

    #1277B2

    oklch(54.6% 0.124 242.2)

  • #995290

    #995290

    oklch(54.5% 0.124 332)

  • #A25D03

    #A25D03

    oklch(54.6% 0.124 62.5)

  • #27844B

    #27844B

    oklch(54.5% 0.123 152.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1277B2 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.