#005BAC

Closest named color: Mid Blue (#276AB3). oklch(47.3% 0.149 253.6), rgb(0, 91, 172).

Aa

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

About this color

#005BAC is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.149 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.049 away. White text reads best on it, at 6.79:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromavivid (0.149)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.09:1
White text6.79:1

Values

HEX#005BAC
RGBrgb(0, 91, 172)
HSLhsl(208, 100%, 34%)
OKLCHoklch(47.3% 0.149 253.6)

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 #005BAC 6.79:1 AA Lc -87.8 Fine for body text
Black text on #005BAC 3.09:1 AA large text Lc 21.3 Dividers and decoration only
#005BAC text on white 6.79:1 AA Lc 82.7 Fine for body text
#005BAC text on black 3.09:1 AA large text Lc -19.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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C7DBF4

    oklch(88.4% 0.041 254)

  4. Step 300

    300

    #A1C4EF

    oklch(81% 0.072 253.8)

  5. Step 400

    400

    #6CA4E7

    oklch(70.8% 0.115 253.7)

  6. Step 500

    500

    #418BE0

    oklch(63% 0.148 253.8)

  7. Step 600

    600

    #1B73CD

    oklch(55.5% 0.16 253.6)

  8. Step 700

    700 (this color)

    #005BAC

    oklch(47.3% 0.149 253.6)

  9. Step 800

    800

    #0F4F90

    oklch(42.7% 0.123 253.6)

  10. Step 900

    900

    #164273

    oklch(37.7% 0.097 253.8)

  11. Step 950

    950

    #0F2743

    oklch(27% 0.06 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#005BAC 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)#2C62AF0.032
Deuteranopia (no green cones)#0055AA0.017
Tritanopia (no blue cones)#006F7B0.110
Achromatopsia (no color)#5B5B5B0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #005BAC

    #005BAC

    oklch(47.3% 0.149 253.6)

  • #7D5100

    #7D5100

    oklch(47.3% 0.101 73.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #005BAC

    #005BAC

    oklch(47.3% 0.149 253.6)

  • #006680

    #006680

    oklch(47.4% 0.088 223.2)

  • #544BAB

    #544BAB

    oklch(47.4% 0.148 283.4)

Open the analogous palette in the generator

Split complementary

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

  • #005BAC

    #005BAC

    oklch(47.3% 0.149 253.6)

  • #983A00

    #983A00

    oklch(47.4% 0.138 43.7)

  • #665E00

    #665E00

    oklch(47.4% 0.1 103.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #005BAC

    #005BAC

    oklch(47.3% 0.149 253.6)

  • #9D2C42

    #9D2C42

    oklch(47.3% 0.148 13.8)

  • #3A6B00

    #3A6B00

    oklch(47.4% 0.135 133.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #005BAC

    #005BAC

    oklch(47.3% 0.149 253.6)

  • #913071

    #913071

    oklch(47.3% 0.149 343.2)

  • #7D5100

    #7D5100

    oklch(47.3% 0.101 73.2)

  • #006D4C

    #006D4C

    oklch(47.3% 0.101 163.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #005BAC 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.