#5051DA

Closest named color: Warm Blue (#4B57DB). oklch(51.9% 0.204 276.3), rgb(80, 81, 218).

Aa

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

About this color

#5051DA is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.204 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.014 away. White text reads best on it, at 5.94:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.204)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.53:1
White text5.94:1

Values

HEX#5051DA
RGBrgb(80, 81, 218)
HSLhsl(240, 65%, 58%)
OKLCHoklch(51.9% 0.204 276.3)

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 #5051DA 5.94:1 AA Lc -84.4 Fine for body text
Black text on #5051DA 3.53:1 AA large text Lc 24.9 Dividers and decoration only
#5051DA text on white 5.94:1 AA Lc 79.2 Fine for body text
#5051DA text on black 3.53:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E9FE

    oklch(93.7% 0.029 275.2)

  3. Step 200

    200

    #CFD7FE

    oklch(88.6% 0.054 276.1)

  4. Step 300

    300

    #B0BCFF

    oklch(81% 0.096 276.2)

  5. Step 400

    400

    #8895FF

    oklch(70.6% 0.155 276.4)

  6. Step 500

    500

    #6D76FF

    oklch(63% 0.2 276.2)

  7. Step 600

    600

    #5859EF

    oklch(55.5% 0.219 276.2)

  8. Step 700

    700 (this color)

    #5051DA

    oklch(51.9% 0.204 276.3)

  9. Step 800

    800

    #3C3CA8

    oklch(42.6% 0.169 276.5)

  10. Step 900

    900

    #323585

    oklch(37.6% 0.131 276.4)

  11. Step 950

    950

    #1D204E

    oklch(27% 0.083 276.5)

Export this scale for Tailwind in the Tailwind colors tool

#5051DA 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)#006ADE0.071
Deuteranopia (no green cones)#005ED70.061
Tritanopia (no blue cones)#00748E0.170
Achromatopsia (no color)#6464640.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #5051DA

    #5051DA

    oklch(51.9% 0.204 276.3)

  • #7B6800

    #7B6800

    oklch(52% 0.107 96.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5051DA

    #5051DA

    oklch(51.9% 0.204 276.3)

  • #006DB0

    #006DB0

    oklch(51.9% 0.134 246.1)

  • #873AC2

    #873AC2

    oklch(51.9% 0.204 306.4)

Open the analogous palette in the generator

Split complementary

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

  • #5051DA

    #5051DA

    oklch(51.9% 0.204 276.3)

  • #945900

    #945900

    oklch(51.9% 0.115 66.6)

  • #557500

    #557500

    oklch(51.8% 0.132 126.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5051DA

    #5051DA

    oklch(51.9% 0.204 276.3)

  • #B73200

    #B73200

    oklch(51.8% 0.176 36.2)

  • #007D49

    #007D49

    oklch(51.9% 0.125 156.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5051DA

    #5051DA

    oklch(51.9% 0.204 276.3)

  • #BF0A56

    #BF0A56

    oklch(51.9% 0.204 6.3)

  • #7B6800

    #7B6800

    oklch(52% 0.107 96.5)

  • #007971

    #007971

    oklch(51.9% 0.091 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5051DA 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.