#4178AB

Closest named color: Flat Blue (#3C73A8). oklch(55.8% 0.099 248.4), rgb(65, 120, 171).

Aa

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

About this color

#4178AB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.099 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.016 away. White text reads best on it, at 4.66:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.49:1
White text4.66:1

Values

HEX#4178AB
RGBrgb(65, 120, 171)
HSLhsl(209, 45%, 46%)
OKLCHoklch(55.8% 0.099 248.4)

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 #4178AB 4.66:1 AA Lc -77.7 Fine for body text
Black text on #4178AB 4.49:1 AA large text Lc 31.9 Non-text elements, placeholder text
#4178AB text on white 4.66:1 AA Lc 72.2 Content text, not long reading
#4178AB text on black 4.49:1 AA large text Lc -29.5 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CDDBE9

    oklch(88.5% 0.025 248.1)

  4. Step 300

    300

    #ABC4DD

    oklch(81% 0.045 248.4)

  5. Step 400

    400

    #7EA5CB

    oklch(70.7% 0.07 248.2)

  6. Step 500

    500

    #5C8EBE

    oklch(63.1% 0.091 248.5)

  7. Step 600

    600 (this color)

    #4178AB

    oklch(55.8% 0.099 248.4)

  8. Step 700

    700

    #326492

    oklch(49% 0.092 248.4)

  9. Step 800

    800

    #2A5277

    oklch(42.7% 0.077 248.4)

  10. Step 900

    900

    #274460

    oklch(37.7% 0.06 248.9)

  11. Step 950

    950

    #172838

    oklch(27% 0.038 247.9)

Export this scale for Tailwind in the Tailwind colors tool

#4178AB 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)#627AAD0.038
Deuteranopia (no green cones)#546FAA0.030
Tritanopia (no blue cones)#00848A0.079
Achromatopsia (no color)#7474740.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #4178AB

    #4178AB

    oklch(55.8% 0.099 248.4)

  • #99682C

    #99682C

    oklch(55.7% 0.098 68.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4178AB

    #4178AB

    oklch(55.8% 0.099 248.4)

  • #08819A

    #08819A

    oklch(55.7% 0.099 218)

  • #676DAD

    #676DAD

    oklch(55.8% 0.099 278.6)

Open the analogous palette in the generator

Split complementary

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

  • #4178AB

    #4178AB

    oklch(55.8% 0.099 248.4)

  • #A55E47

    #A55E47

    oklch(55.8% 0.099 38.7)

  • #837425

    #837425

    oklch(55.8% 0.099 98.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4178AB

    #4178AB

    oklch(55.8% 0.099 248.4)

  • #A45A68

    #A45A68

    oklch(55.8% 0.098 8.6)

  • #627F3C

    #627F3C

    oklch(55.8% 0.1 128.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4178AB

    #4178AB

    oklch(55.8% 0.099 248.4)

  • #995C88

    #995C88

    oklch(55.8% 0.099 338)

  • #99682C

    #99682C

    oklch(55.7% 0.098 68.6)

  • #38855E

    #38855E

    oklch(55.7% 0.098 158.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4178AB 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.