#5062BD

Closest named color: Iris (#6258C4). oklch(52.8% 0.143 272.2), rgb(80, 98, 189).

Aa

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

About this color

#5062BD is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.143 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.036 away. White text reads best on it, at 5.49:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.143)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.82:1
White text5.49:1

Values

HEX#5062BD
RGBrgb(80, 98, 189)
HSLhsl(230, 45%, 53%)
OKLCHoklch(52.8% 0.143 272.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 #5062BD 5.49:1 AA Lc -82.5 Fine for body text
Black text on #5062BD 3.82:1 AA large text Lc 26.9 Dividers and decoration only
#5062BD text on white 5.49:1 AA Lc 77.2 Fine for body text
#5062BD text on black 3.82:1 AA large text Lc -24.6 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D1D8F2

    oklch(88.5% 0.037 273.7)

  4. Step 300

    300

    #B2BFEB

    oklch(81% 0.064 272)

  5. Step 400

    400

    #8A9CE1

    oklch(70.6% 0.103 272.3)

  6. Step 500

    500

    #6E82D9

    oklch(63% 0.133 272.3)

  7. Step 600

    600 (this color)

    #5062BD

    oklch(52.8% 0.143 272.2)

  8. Step 700

    700

    #4858AB

    oklch(49.1% 0.133 272.4)

  9. Step 800

    800

    #3B488B

    oklch(42.6% 0.111 272.6)

  10. Step 900

    900

    #323D6F

    oklch(37.7% 0.087 272.3)

  11. Step 950

    950

    #1D2441

    oklch(26.9% 0.055 272)

Export this scale for Tailwind in the Tailwind colors tool

#5062BD 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)#366EC00.038
Deuteranopia (no green cones)#2564BB0.042
Tritanopia (no blue cones)#0176860.127
Achromatopsia (no color)#6969690.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #5062BD

    #5062BD

    oklch(52.8% 0.143 272.2)

  • #826800

    #826800

    oklch(52.8% 0.108 91.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5062BD

    #5062BD

    oklch(52.8% 0.143 272.2)

  • #0072AD

    #0072AD

    oklch(52.9% 0.125 242)

  • #7C53AF

    #7C53AF

    oklch(52.9% 0.143 302.3)

Open the analogous palette in the generator

Split complementary

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

  • #5062BD

    #5062BD

    oklch(52.8% 0.143 272.2)

  • #9C5800

    #9C5800

    oklch(52.8% 0.122 61.8)

  • #5F7600

    #5F7600

    oklch(52.8% 0.128 122.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5062BD

    #5062BD

    oklch(52.8% 0.143 272.2)

  • #AF4431

    #AF4431

    oklch(52.9% 0.144 32.2)

  • #008141

    #008141

    oklch(52.8% 0.138 152.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5062BD

    #5062BD

    oklch(52.8% 0.143 272.2)

  • #AB4064

    #AB4064

    oklch(52.8% 0.144 2.5)

  • #826800

    #826800

    oklch(52.8% 0.108 91.5)

  • #007D70

    #007D70

    oklch(52.9% 0.095 182.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5062BD.

Similar named colors

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

Use #5062BD 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.