#4778DC

Closest named color: Royal Blue (#4169E1). oklch(59% 0.162 262.8), rgb(71, 120, 220).

Aa

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

About this color

#4778DC is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.162 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.041 away. Black text reads best on it, at 4.98:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.162)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.98:1
White text4.21:1

Values

HEX#4778DC
RGBrgb(71, 120, 220)
HSLhsl(220, 68%, 57%)
OKLCHoklch(59% 0.162 262.8)

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 #4778DC 4.21:1 AA large text Lc -74.2 Content text, not long reading
Black text on #4778DC 4.98:1 AA Lc 35.4 Non-text elements, placeholder text
#4778DC text on white 4.21:1 AA large text Lc 68.7 Content text, not long reading
#4778DC text on black 4.98:1 AA Lc -32.9 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CBDAF5

    oklch(88.6% 0.041 262.3)

  4. Step 300

    300

    #A8C1F0

    oklch(80.9% 0.072 262.9)

  5. Step 400

    400

    #79A0E9

    oklch(70.7% 0.116 262.3)

  6. Step 500

    500

    #5886E3

    oklch(63.1% 0.149 263)

  7. Step 600

    600 (this color)

    #4778DC

    oklch(59% 0.162 262.8)

  8. Step 700

    700

    #305BB5

    oklch(49.1% 0.151 262.9)

  9. Step 800

    800

    #284B92

    oklch(42.7% 0.124 262.6)

  10. Step 900

    900

    #253F75

    oklch(37.7% 0.098 263.2)

  11. Step 950

    950

    #162544

    oklch(26.9% 0.061 263.4)

Export this scale for Tailwind in the Tailwind colors tool

#4778DC 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)#4683E00.029
Deuteranopia (no green cones)#2875DA0.027
Tritanopia (no blue cones)#008F9F0.132
Achromatopsia (no color)#7B7B7B0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #4778DC

    #4778DC

    oklch(59% 0.162 262.8)

  • #A07500

    #A07500

    oklch(59% 0.121 82.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4778DC

    #4778DC

    oklch(59% 0.162 262.8)

  • #0088B9

    #0088B9

    oklch(58.9% 0.122 232.8)

  • #8266D3

    #8266D3

    oklch(58.9% 0.161 292.6)

Open the analogous palette in the generator

Split complementary

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

  • #4778DC

    #4778DC

    oklch(59% 0.162 262.8)

  • #BF5E00

    #BF5E00

    oklch(58.9% 0.15 52.9)

  • #7F8400

    #7F8400

    oklch(58.9% 0.131 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4778DC

    #4778DC

    oklch(59% 0.162 262.8)

  • #CB4C4E

    #CB4C4E

    oklch(58.8% 0.162 22.6)

  • #359432

    #359432

    oklch(58.9% 0.162 142.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4778DC

    #4778DC

    oklch(59% 0.162 262.8)

  • #C24C86

    #C24C86

    oklch(59% 0.162 352.7)

  • #A07500

    #A07500

    oklch(59% 0.121 82.8)

  • #009276

    #009276

    oklch(58.8% 0.113 172.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4778DC 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.