#0566C5

Closest named color: Mid Blue (#276AB3). oklch(51.7% 0.168 255), rgb(5, 102, 197).

Aa

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

About this color

#0566C5 is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.168 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.035 away. White text reads best on it, at 5.65:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.168)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.71:1
White text5.65:1

Values

HEX#0566C5
RGBrgb(5, 102, 197)
HSLhsl(210, 95%, 40%)
OKLCHoklch(51.7% 0.168 255)

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 #0566C5 5.65:1 AA Lc -82.9 Fine for body text
Black text on #0566C5 3.71:1 AA large text Lc 26.5 Dividers and decoration only
#0566C5 text on white 5.65:1 AA Lc 77.6 Fine for body text
#0566C5 text on black 3.71:1 AA large text Lc -24.2 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 700.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C6DBF7

    oklch(88.5% 0.045 255.6)

  4. Step 300

    300

    #9DC4F5

    oklch(81% 0.081 254.4)

  5. Step 400

    400

    #66A3F0

    oklch(70.7% 0.13 255)

  6. Step 500

    500

    #388AEB

    oklch(63.2% 0.166 254.8)

  7. Step 600

    600

    #0671D9

    oklch(55.6% 0.18 255)

  8. Step 700

    700 (this color)

    #0566C5

    oklch(51.7% 0.168 255)

  9. Step 800

    800

    #024D98

    oklch(42.6% 0.139 255)

  10. Step 900

    900

    #104179

    oklch(37.7% 0.108 254.9)

  11. Step 950

    950

    #0C2747

    oklch(27.1% 0.068 254.6)

Export this scale for Tailwind in the Tailwind colors tool

#0566C5 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)#2C6FC90.033
Deuteranopia (no green cones)#0060C30.017
Tritanopia (no blue cones)#007D8C0.124
Achromatopsia (no color)#6767670.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #0566C5

    #0566C5

    oklch(51.7% 0.168 255)

  • #8C5D00

    #8C5D00

    oklch(51.6% 0.109 74.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0566C5

    #0566C5

    oklch(51.7% 0.168 255)

  • #007392

    #007392

    oklch(51.7% 0.098 224.9)

  • #6253C3

    #6253C3

    oklch(51.8% 0.168 285)

Open the analogous palette in the generator

Split complementary

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

  • #0566C5

    #0566C5

    oklch(51.7% 0.168 255)

  • #AA4400

    #AA4400

    oklch(51.7% 0.149 44.7)

  • #726B00

    #726B00

    oklch(51.8% 0.11 105.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0566C5

    #0566C5

    oklch(51.7% 0.168 255)

  • #B43048

    #B43048

    oklch(51.8% 0.168 15.1)

  • #3E7A00

    #3E7A00

    oklch(51.8% 0.151 134.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0566C5

    #0566C5

    oklch(51.7% 0.168 255)

  • #A6357E

    #A6357E

    oklch(51.7% 0.167 344.8)

  • #8C5D00

    #8C5D00

    oklch(51.6% 0.109 74.8)

  • #007B58

    #007B58

    oklch(51.6% 0.109 165)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0566C5 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.